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
Renamed keep_dirs, "xfer_dirs".
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
a54ce7c
..
ddefb9b
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-509,6
+509,8
@@
static void set_refuse_options(char *bp)
break;
if ((op->longName && wildmatch(bp, op->longName))
|| (*shortname && wildmatch(bp, shortname))) {
break;
if ((op->longName && wildmatch(bp, op->longName))
|| (*shortname && wildmatch(bp, shortname))) {
+ if (op->argInfo == POPT_ARG_VAL)
+ op->argInfo = POPT_ARG_NONE;
op->val = (op - long_options) + OPT_REFUSED_BASE;
found_match = 1;
if (!is_wild)
op->val = (op - long_options) + OPT_REFUSED_BASE;
found_match = 1;
if (!is_wild)