X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/d1fe65fc5e5f05bc8aba00bc232d00ebc72aa6ab..47573508f43ef21e54626a3a50d6b0cd9de78064:/packaging/cull_options 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 () { 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;