summaryrefslogtreecommitdiff
path: root/packaging/cull_options
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2010-05-26 11:24:00 -0700
committerWayne Davison <wayned@samba.org>2010-05-26 11:24:00 -0700
commit47573508f43ef21e54626a3a50d6b0cd9de78064 (patch)
treeb81d46b71a054b4d890990f85f63b029b354f2e6 /packaging/cull_options
parentd1fe65fc5e5f05bc8aba00bc232d00ebc72aa6ab (diff)
downloadrsync-47573508f43ef21e54626a3a50d6b0cd9de78064.tar.gz
rsync-47573508f43ef21e54626a3a50d6b0cd9de78064.tar.bz2
rsync-47573508f43ef21e54626a3a50d6b0cd9de78064.zip
Update rrsync with the latest options.
Diffstat (limited to 'packaging/cull_options')
-rwxr-xr-xpackaging/cull_options4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/cull_options b/packaging/cull_options
index 3ef470df..add2b988 100755
--- a/packaging/cull_options
+++ b/packaging/cull_options
@@ -7,7 +7,7 @@ use strict;
our %short_no_arg;
our %short_with_num;
our %long_opt = (
- 'no-i-r' => 0,
+ 'daemon' => -1,
'fake-super' => 0,
'log-file' => 3,
);
@@ -24,7 +24,7 @@ while (<IN>) {
undef $last_long_opt;
} elsif (/\Qargs[ac++]\E = "--([^"=]+)"/) {
$last_long_opt = $1;
- $long_opt{$1} = 0;
+ $long_opt{$1} = 0 unless exists $long_opt{$1};
} elsif (defined($last_long_opt)
&& /\Qargs[ac++]\E = ([^["\s]+);/ && $1 ne 'dest_option') {
$long_opt{$last_long_opt} = 2;