mirror of
https://github.com/ipxe/ipxe
synced 2026-02-02 19:57:34 +03:00
[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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user