diff options
author | Wayne Davison <wayned@samba.org> | 2004-03-30 02:08:07 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-03-30 02:08:07 +0000 |
commit | 3e89da86dfb4a37aa00dcb55a1c9af46cff4b80f (patch) | |
tree | ebbd8b3e40d42cd40f69e3a97044f129d047fa05 /options.c | |
parent | f5450e791da9495f8af4c2e27886f037db657b4b (diff) | |
download | rsync-3e89da86dfb4a37aa00dcb55a1c9af46cff4b80f.tar.gz |
The --files-from option needs to allow a server-sender to sometimes
have just 1 arg on the command-line.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -720,7 +720,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain) if (files_from) { char *colon; - if (*argc != 2) { + if (*argc != 2 && !(am_server && am_sender && *argc == 1)) { usage(FERROR); exit_cleanup(RERR_SYNTAX); } |