diff options
| author | Michael Brown | 2013-11-07 18:00:51 +0100 |
|---|---|---|
| committer | Michael Brown | 2013-11-07 18:00:51 +0100 |
| commit | 43eba2f555e2a2ed0fbedeeda73dd1720437fd97 (patch) | |
| tree | 86e2decd0adbcb0e92ed8aed80b0b38023e7605a /src/arch | |
| parent | [ipv6] Add IPv6 network device configurator (diff) | |
| download | ipxe-43eba2f555e2a2ed0fbedeeda73dd1720437fd97.tar.gz ipxe-43eba2f555e2a2ed0fbedeeda73dd1720437fd97.tar.xz ipxe-43eba2f555e2a2ed0fbedeeda73dd1720437fd97.zip | |
[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/arch')
| -rw-r--r-- | src/arch/i386/hci/commands/pxe_cmd.c | 2 | ||||
| -rw-r--r-- | src/arch/x86/hci/commands/cpuid_cmd.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/i386/hci/commands/pxe_cmd.c b/src/arch/i386/hci/commands/pxe_cmd.c index c7cdb07f8..523724ab0 100644 --- a/src/arch/i386/hci/commands/pxe_cmd.c +++ b/src/arch/i386/hci/commands/pxe_cmd.c @@ -78,7 +78,7 @@ static struct option_descriptor stoppxe_opts[] = {}; /** "stoppxe" command descriptor */ static struct command_descriptor stoppxe_cmd = - COMMAND_DESC ( struct stoppxe_options, stoppxe_opts, 0, 0, "" ); + COMMAND_DESC ( struct stoppxe_options, stoppxe_opts, 0, 0, NULL ); /** * The "stoppxe" command diff --git a/src/arch/x86/hci/commands/cpuid_cmd.c b/src/arch/x86/hci/commands/cpuid_cmd.c index 981143308..c4e35d179 100644 --- a/src/arch/x86/hci/commands/cpuid_cmd.c +++ b/src/arch/x86/hci/commands/cpuid_cmd.c @@ -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 |
