From 43eba2f555e2a2ed0fbedeeda73dd1720437fd97 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 7 Nov 2013 17:00:51 +0000 Subject: [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 --- src/image/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/image') diff --git a/src/image/script.c b/src/image/script.c index 8d80241d..5328da8b 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 ] [--timeout ] []" ); + "[]" ); /** * "prompt" command -- cgit v1.2.3-55-g7522