[Catalyst-commits] r13541 - in Catalyst-Runtime/5.80/trunk:
lib/Catalyst/Script t/aggregate
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Thu Aug 26 00:01:20 GMT 2010
Author: t0m
Date: 2010-08-26 01:01:20 +0100 (Thu, 26 Aug 2010)
New Revision: 13541
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Script/CGI.pm
Catalyst-Runtime/5.80/trunk/t/aggregate/unit_core_script_help.t
Log:
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
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Script/CGI.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Script/CGI.pm 2010-08-25 23:39:56 UTC (rev 13540)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Script/CGI.pm 2010-08-26 00:01:20 UTC (rev 13541)
@@ -16,7 +16,7 @@
myapp_cgi.pl [options]
Options:
- -h --help display this help and exits
+ -? --help display this help and exits
=head1 DESCRIPTION
Modified: Catalyst-Runtime/5.80/trunk/t/aggregate/unit_core_script_help.t
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/aggregate/unit_core_script_help.t 2010-08-25 23:39:56 UTC (rev 13540)
+++ Catalyst-Runtime/5.80/trunk/t/aggregate/unit_core_script_help.t 2010-08-26 00:01:20 UTC (rev 13541)
@@ -15,7 +15,6 @@
sub _getopt_full_usage { $help++ }
}
-test('-h');
test('--help');
test('-?');
More information about the Catalyst-commits
mailing list