summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-06-26 14:47:34 -0400
committerJesse Luehrs <doy@tozt.net>2013-06-26 14:47:34 -0400
commit4ab1e61a63119a79f54dcef1ffedc549e65f3256 (patch)
tree987f5931fd6b41773f0e8c60444baaf4e2e38b51
parentc18f54da211be1bd0f77d9d311b97a58e7ebb23e (diff)
downloadreply-4ab1e61a63119a79f54dcef1ffedc549e65f3256.tar.gz
reply-4ab1e61a63119a79f54dcef1ffedc549e65f3256.zip
add some docs for the command line program
-rw-r--r--bin/reply41
1 files changed, 40 insertions, 1 deletions
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<Reply> 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));