Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25cf889
)
the 2nd half of the hack
author
Andrew Tridgell
<tridge@samba.org>
Tue, 29 Aug 2000 04:46:27 +0000
(
04:46
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 29 Aug 2000 04:46:27 +0000
(
04:46
+0000)
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
6050524
..
6de6641
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-611,6
+611,7
@@
void server_options(char **args,int *argc)
argstr[0] = '-';
for (i=0;i<verbose;i++)
argstr[x++] = 'v';
+
/* the -q option is intentionally left out */
if (make_backups)
argstr[x++] = 'b';
@@
-652,6
+653,14
@@
void server_options(char **args,int *argc)
argstr[x++] = 'S';
if (do_compression)
argstr[x++] = 'z';
+
+ /* this is a complete hack - blame Rusty
+
+ this is a hack to make the list_only (remote file list)
+ more useful */
+ if (list_only && !recurse)
+ argstr[x++] = 'r';
+
argstr[x] = 0;
if (x != 1) args[ac++] = argstr;