[seed] Update manpage and --help output with -e, etc.
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [seed] Update manpage and --help output with -e, etc.
- Date: Fri, 22 Jan 2010 21:26:20 +0000 (UTC)
commit 8c9a7f4f7bd2fbc7b380e2718d2375c1a346959a
Author: Tim Horton <hortont424 gmail com>
Date: Fri Jan 22 16:25:38 2010 -0500
Update manpage and --help output with -e, etc.
doc/seed.1 | 9 ++++++++-
src/args.c | 2 +-
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/doc/seed.1 b/doc/seed.1
index 4bed648..d1b145b 100644
--- a/doc/seed.1
+++ b/doc/seed.1
@@ -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
diff --git a/src/args.c b/src/args.c
index 5519c21..5906331 100644
--- a/src/args.c
+++ b/src/args.c
@@ -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,},
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]