# HG changeset patch # User steve # Date 1188796611 0 # Node ID 3f5f19c3b0cc3817b8aa532e37da5aee1331614c # Parent 62cfade9c5cbbd4021b3647c17560e0a74bf35f2 2007-09-03 05:16:51 by steve Documented all command-line arguments. diff -r 62cfade9c5cb -r 3f5f19c3b0cc bin/chronicle --- a/bin/chronicle Mon Sep 03 05:16:40 2007 +0000 +++ b/bin/chronicle Mon Sep 03 05:16:51 2007 +0000 @@ -9,14 +9,34 @@ =head1 SYNOPSIS + Path Options: + + --input Specify the input directory to use. + --output Specify the directory to write output to. + --templates Specify the path to the theme templates. + --pattern Specify the pattern of files to work with. + --url-prefix Specify the prefix to the live blog. + + + Pre & Post-Build Commands: + + --pre-build Specify a command to execute prior to building the blog. + --post-build Specify a command to execute once the blog has been built. + + + Optional Features: + + --no-archive Don't create an archive page. + --no-cache Don't use the optional memcached features, even if available. + --no-tags Don't produce any tag pages. + --lower-case Lower-case all filenames which are output. + + Help Options: --help Show the help information for this script. - --manual Read the manual for this script. - --verbose Show useful debugging information. - --version Show the version number and exit. =cut @@ -54,7 +74,7 @@ -- http://www.steve.org.uk/ - $Id: chronicle,v 1.14 2007-09-03 05:13:09 steve Exp $ + $Id: chronicle,v 1.15 2007-09-03 05:16:51 steve Exp $ =cut @@ -313,9 +333,9 @@ "input=s", \$CONFIG{'input'}, "output=s", \$CONFIG{'output'}, "templates=s", \$CONFIG{'template'}, + "pattern=s", \$CONFIG{'pattern'}, # optional - "pattern=s", \$CONFIG{'pattern'}, "no-tags", \$CONFIG{'no-tags'}, "no-cache", \$CONFIG{'no-cache'}, "no-archive", \$CONFIG{'no-archive'}, @@ -335,7 +355,7 @@ if ( $VERSION ) { - my $REVISION = '$Revision: 1.14 $'; + my $REVISION = '$Revision: 1.15 $'; if ( $REVISION =~ /1.([0-9.]+) / ) { $REVISION = $1;