mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +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:
@@ -54,8 +54,7 @@ static struct option_descriptor cpuid_opts[] = {
|
||||
|
||||
/** "cpuid" command descriptor */
|
||||
static struct command_descriptor cpuid_cmd =
|
||||
COMMAND_DESC ( struct cpuid_options, cpuid_opts, 1, 1,
|
||||
"[--ext] [--ecx] <bit>" );
|
||||
COMMAND_DESC ( struct cpuid_options, cpuid_opts, 1, 1, "<bit>" );
|
||||
|
||||
/**
|
||||
* The "cpuid" command
|
||||
|
||||
Reference in New Issue
Block a user