From 3dbfa54ba03b1d03b953869d705c5963684e3bd3 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 5 Jul 2017 18:19:23 -0700 Subject: [PATCH] handle --stop --exit or --quit --- bin/local-debbugs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}; -- 2.39.2