Don't screw over people using --detach, <sigh>
Tomas Doran [Sat, 9 Jan 2010 15:37:00 +0000 (15:37 +0000)]
Changes
lib/Catalyst/Script/FastCGI.pm

diff --git a/Changes b/Changes
index e29a5a4..3435481 100644 (file)
--- a/Changes
+++ b/Changes
@@ -6,8 +6,7 @@
      MyApp::View::HTML).
 
   Bug fixes:
-   - Remove the erroneous --detach option from Catalyst::Script::FastCGI
-   - --daemon option to Catalyst::Script::FastCGI is fixed.
+   - --daemon and -d options to Catalyst::Script::FastCGI are fixed.
    - Fix the debug dump for applications which use Catalyst::Plugin::Session
      (RT#52898)
    - Fix regression in the case where mod_rewrite is being used to rewrite
index 271d575..60b4133 100644 (file)
@@ -27,7 +27,7 @@ has daemon => (
     traits        => [qw(Getopt)],
     isa           => Bool,
     is            => 'ro',
-    cmd_aliases   => 'd',
+    cmd_aliases   => [qw/d detach/], # Eww, detach is here as we fucked it up.. Deliberately not documented
     documentation => 'Daemonize (go into the background)',
 );