Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Preparing for release of 3.0.3
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
75a6d63
..
0ad26f8
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-1275,7
+1275,7
@@
int parse_arguments(int *argc_p, const char ***argv_p)
}
}
}
}
- if (human_readable && argc == 2) {
+ if (human_readable && argc == 2
&& !am_server
) {
/* Allow the old meaning of 'h' (--help) on its own. */
usage(FINFO);
exit_cleanup(0);
/* Allow the old meaning of 'h' (--help) on its own. */
usage(FINFO);
exit_cleanup(0);
@@
-1387,7
+1387,7
@@
int parse_arguments(int *argc_p, const char ***argv_p)
xfer_dirs = 1;
}
xfer_dirs = 1;
}
- if (argc < 2 && !read_batch)
+ if (argc < 2 && !read_batch
&& !am_server
)
list_only |= 1;
if (xfer_dirs >= 4) {
list_only |= 1;
if (xfer_dirs >= 4) {