From: Don Armstrong Date: Thu, 6 Jul 2017 01:19:23 +0000 (-0700) Subject: handle --stop --exit or --quit X-Git-Tag: release/2.6.0~97 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=3dbfa54ba03b1d03b953869d705c5963684e3bd3 handle --stop --exit or --quit --- diff --git a/bin/local-debbugs b/bin/local-debbugs index 25c47c9..6df4b15 100755 --- a/bin/local-debbugs +++ b/bin/local-debbugs @@ -143,7 +143,7 @@ my %option_defaults = (port => 8080, ); GetOptions(\%options, - 'daemon|D','show|s','search|select|S','mirror|M', 'stop', + 'daemon|D','show|s','search|select|S','mirror|M', 'stop|exit|quit', 'detach!', 'css=s','cgi_bin|cgi-bin|cgi=s', 'verbose|v+','quiet|q+', @@ -158,7 +158,7 @@ $DEBUG = $options{debug}; my @USAGE_ERRORS; if (1 != grep {exists $options{$_}} qw(daemon show search mirror stop)) { - push @USAGE_ERRORS,"You must pass one (and only one) of --daemon --show --search or --mirror"; + push @USAGE_ERRORS,"You must pass one (and only one) of --daemon --show --search --mirror or --stop"; } $options{verbose} = $options{verbose} - $options{quiet};