Subject: | [PATCH] Improve documentation for scripts |
Date: | Thu, 27 Jan 2011 13:26:03 +0100 |
To: | bug-Catalyst-Devel [...] rt.cpan.org |
From: | Ansgar Burchardt <ansgar [...] 43-1.org> |
Hi,
the attached patch should improve the documentation for the generated
scripts slightly. The remaining references to "-listen" were changed to
"--listen" and similar small changes.
Regards,
Ansgar
From 96deb9ee7df0ed1e84d5a42a92270a32515ba25c Mon Sep 17 00:00:00 2001
From: Ansgar Burchardt <ansgar@43-1.org>
Date: Thu, 27 Jan 2011 13:17:53 +0100
Subject: [PATCH] improve documentation for scripts
---
share/script/myapp_cgi.pl.tt | 2 +-
share/script/myapp_fastcgi.pl.tt | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/share/script/myapp_cgi.pl.tt b/share/script/myapp_cgi.pl.tt
index d060967..07a7353 100644
--- a/share/script/myapp_cgi.pl.tt
+++ b/share/script/myapp_cgi.pl.tt
@@ -15,7 +15,7 @@ See L<Catalyst::Manual>
=head1 DESCRIPTION
-Run a Catalyst application as a cgi script.
+Run a Catalyst application as a CGI script.
=head1 AUTHORS
diff --git a/share/script/myapp_fastcgi.pl.tt b/share/script/myapp_fastcgi.pl.tt
index e840f7f..714462b 100644
--- a/share/script/myapp_fastcgi.pl.tt
+++ b/share/script/myapp_fastcgi.pl.tt
@@ -14,27 +14,27 @@ Catalyst::ScriptRunner->run('[% name %]', 'FastCGI');
[% appprefix %]_fastcgi.pl [options]
Options:
- -? -help display this help and exits
- -l --listen Socket path to listen on
+ -? --help display this help and exit
+ -l --listen socket path to listen on
(defaults to standard input)
can be HOST:PORT, :PORT or a
filesystem path
-n --nproc specify number of processes to keep
to serve requests (defaults to 1,
- requires -listen)
+ requires --listen)
-p --pidfile specify filename for pid file
- (requires -listen)
- -d --daemon daemonize (requires -listen)
+ (requires --listen)
+ -d --daemon daemonize (requires --listen)
-M --manager specify alternate process manager
(FCGI::ProcManager sub-class)
or empty string to disable
-e --keeperr send error messages to STDOUT, not
to the webserver
- --proc_title Set the process title (is possible)
+ --proc_title set the process title (if possible)
=head1 DESCRIPTION
-Run a Catalyst application as fastcgi.
+Run a Catalyst application as FastCGI.
=head1 AUTHORS
--
1.7.2.3