Skip to content

Commit

Permalink
Unfuck -p option to do what I have a finger macro for
Browse files Browse the repository at this point in the history
  • Loading branch information
t0m committed May 13, 2009
1 parent ac34068 commit 5655a0e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
This file documents the revision history for Perl extension Catalyst-Devel.

- Remove -p option for pid file, and restore it to the port number,
as it should be -port|-p (t0m)
- Document -pidfile in myapp_server.pl POD (t0m)

1.13 2009-05-11 02:50
- add [-pidfile|-p] option for myapp_server.pl (caelum)
- Bump dependency on Config::General (caelum)
Expand Down
2 changes: 1 addition & 1 deletion lib/Catalyst/Devel.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;
use warnings;

our $VERSION = '1.13';
our $CATALYST_SCRIPT_GEN = 33;
our $CATALYST_SCRIPT_GEN = 36;

=head1 NAME
Expand Down
4 changes: 3 additions & 1 deletion lib/Catalyst/Helper.pm
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ GetOptions(
'restartdirectory=s@' => \$restart_directory,
'followsymlinks' => \$follow_symlinks,
'background' => \$background,
'pidfile|p=s' => \$pidfile,
'pidfile=s' => \$pidfile,
);
pod2usage(1) if $help;
Expand Down Expand Up @@ -1050,6 +1050,8 @@ require [% name %];
-follow_symlinks follow symlinks in search directories
(defaults to false. this is a no-op on Win32)
-background run the process in the background
-pidfile specify filename for pid file
See also:
perldoc Catalyst::Manual
perldoc Catalyst::Manual::Intro
Expand Down

0 comments on commit 5655a0e

Please sign in to comment.