diff options
author | Michael Brown <mcb30@ipxe.org> | 2013-11-07 17:00:51 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2013-11-07 17:00:51 +0000 |
commit | 43eba2f555e2a2ed0fbedeeda73dd1720437fd97 (patch) | |
tree | 86e2decd0adbcb0e92ed8aed80b0b38023e7605a /src/image/script.c | |
parent | 6871a8113f784f5fedb67f245e15699cdfb2b8f7 (diff) | |
download | ipxe-43eba2f555e2a2ed0fbedeeda73dd1720437fd97.tar.gz |
[cmdline] Generate command option help text automatically
Generate the command option help text automatically from the list of
defined options.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image/script.c')
-rw-r--r-- | src/image/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/script.c b/src/image/script.c index 8d80241dc..5328da8b4 100644 --- a/src/image/script.c +++ b/src/image/script.c @@ -375,7 +375,7 @@ static struct option_descriptor prompt_opts[] = { /** "prompt" command descriptor */ static struct command_descriptor prompt_cmd = COMMAND_DESC ( struct prompt_options, prompt_opts, 0, MAX_ARGUMENTS, - "[--key <key>] [--timeout <timeout>] [<text>]" ); + "[<text>]" ); /** * "prompt" command |