From: Tomas Doran Date: Thu, 26 Aug 2010 00:01:20 +0000 (+0000) Subject: Unify options, get rid of -h which only worked on the CGI script anyway (-h is host... X-Git-Tag: 5.80026~7^2~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=9792b6776bd9075a51873a59584230645ca58f14 Unify options, get rid of -h which only worked on the CGI script anyway (-h is host in ::Server). This technically breaks back-compat slightly, but for the command line options for help in the script you never run from command line anyway, I don't care --- diff --git a/lib/Catalyst/Script/CGI.pm b/lib/Catalyst/Script/CGI.pm index e80a5f7..60392f5 100644 --- a/lib/Catalyst/Script/CGI.pm +++ b/lib/Catalyst/Script/CGI.pm @@ -16,7 +16,7 @@ Catalyst::Script::CGI - The CGI Catalyst Script myapp_cgi.pl [options] Options: - -h --help display this help and exits + -? --help display this help and exits =head1 DESCRIPTION diff --git a/t/aggregate/unit_core_script_help.t b/t/aggregate/unit_core_script_help.t index 0287990..d3a6fab 100644 --- a/t/aggregate/unit_core_script_help.t +++ b/t/aggregate/unit_core_script_help.t @@ -15,7 +15,6 @@ use lib "$Bin/../lib"; sub _getopt_full_usage { $help++ } } -test('-h'); test('--help'); test('-?');