Update manpage and --help output with -e, etc. SEED_2_29_6
authorTim Horton <hortont424@gmail.com>
Fri, 22 Jan 2010 21:25:38 +0000 (16:25 -0500)
committerTim Horton <hortont424@gmail.com>
Fri, 22 Jan 2010 21:25:38 +0000 (16:25 -0500)
doc/seed.1
src/args.c

index 4bed648..d1b145b 100644 (file)
@@ -10,7 +10,14 @@ bindings, unless the path to a script to interpret is specified.
 .SH OPTIONS
 .TP
 .B \--help
-Show help options
+Show these help options.
+.TP
+.B \--version
+Print interpreter version.
+.TP
+.B \-e "expression"
+Takes the JavaScript expression, checks its syntax, and evaluates it, printing
+the return value.
 .TP
 .B \--seed-debug=DEBUGFLAGS
 Show debug messages, filtered by the specified debug flags. If one wishes to see
index 5519c21..5906331 100644 (file)
@@ -32,7 +32,7 @@ static GOptionEntry seed_args[] = {
   {"version", 0, 0, G_OPTION_ARG_NONE, &seed_interpreter_arg_print_version,
    "Print interpreter version", 0},
   {"execute", 'e', 0, G_OPTION_ARG_STRING, &seed_interpreter_arg_exec_string,
-   "program passed in as string", "expression"},
+   "Pass program in as string", "expression"},
   {NULL,},
 };