I'm not sure it is a real error or not, when I run 'rsync' with no options on AIX 5.3, it has an error at the bottom of usage message, see below # rsync ....... ....... ........ Use "rsync --daemon --help" to see the daemon-mode command-line options. Please see the rsync(1) and rsyncd.conf(5) man pages for full documentation. See http://rsync.samba.org/ for updates, bug reports, and answers rsync error: syntax or usage error (code 1) at main.c(1097) I know it is not a correct syntax to run 'rsync' without arguments, however, the error above give me the impression that this version of rsync is poor in error handling... I don't see this kind of error in previous version such as 2.4.5 ( I used this version before). Is there any way I can get rid of this kind of 'error' message if it is not a real bug, just some debug information. I have tried to re-compile rsync source with --enable-debug=no, but it doesn't work. Any help would be appreciate ! Regards, Shitong (Steve) Wang -------------- next part -------------- HTML attachment scrubbed and removed
On Tue, Jul 05, 2005 at 04:33:36PM -0400, Shitong.Wang@jpmchase.com wrote:> rsync error: syntax or usage error (code 1) at main.c(1097)Running rsync without any options *is* a syntax error. If all you want to see is the help, use the --help option. ..wayne..
Thanks for the reply, this version of rsync is going to be used by a group of people, I need to convince them that this is not a real error, do you have any document which talks about this rsync behavior ? Or where I can found information explains those error messages ? Thanks, Shitong (steve) Wang Wayne Davison <wayned@samba.org> 07/05/2005 05:57 PM To: Shitong.Wang@jpmchase.com cc: rsync@lists.samba.org Subject: Re: rsync error ? On Tue, Jul 05, 2005 at 04:33:36PM -0400, Shitong.Wang@jpmchase.com wrote:> rsync error: syntax or usage error (code 1) at main.c(1097)Running rsync without any options *is* a syntax error. If all you want to see is the help, use the --help option. ..wayne.. -------------- next part -------------- HTML attachment scrubbed and removed
Maybe Matching Threads
- [Bug 8838] New: rsync daemon chooses wrong destination place if space and the module name is part of it
- [Bug 11814] New: man-copy Make target missing rsync.1 and rsyncd.conf.5 dependencies
- How to control rsync log?
- [Bug 8558] New: rsync --out-format doesn't support single character escapes as listed in manpage
- [Bug 8508] New: out of memory in glob_expand_module