From 4ab1e61a63119a79f54dcef1ffedc549e65f3256 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 26 Jun 2013 14:47:34 -0400 Subject: add some docs for the command line program --- bin/reply | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/bin/reply b/bin/reply index ae50f13..4704713 100644 --- a/bin/reply +++ b/bin/reply @@ -8,7 +8,7 @@ use Reply::App; =head1 SYNOPSIS - reply + reply [-lb] [-I dir] [-M mod] [--version] [--help] [--cfg file] =head1 DESCRIPTION @@ -19,6 +19,45 @@ you if that file does not exist. See the L documentation for more information about using and configuring this program. +=head1 OPTIONS + +reply takes these command line options: + +=over 4 + +=item -I lib + +Adds the given directory to C<@INC>. + +=item -l + +Equivalent to C<-I lib>. + +=item -b + +Equivalent to C<-I blib/lib -I blib/arch>. + +=item -M Carp::Always + +Loads the specified module before starting the repl. It is loaded within the +repl, so things like exporting work properly. + +=item --cfg ~/.replyrc + +Specifies a different configuration file to use. C<~/.replyrc> is the default. + +=item --version + +Displays the program version. + +=item --help + +Displays usage information. + +=item + +=back + =cut exit(Reply::App->new->run(@ARGV)); -- cgit v1.2.3-54-g00ecf