mirror of
https://github.com/ipxe/ipxe
synced 2026-01-12 00:18:33 +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:
@@ -38,7 +38,7 @@ static struct option_descriptor nstat_opts[] = {};
|
||||
|
||||
/** "nstat" command descriptor */
|
||||
static struct command_descriptor nstat_cmd =
|
||||
COMMAND_DESC ( struct nstat_options, nstat_opts, 0, 0, "" );
|
||||
COMMAND_DESC ( struct nstat_options, nstat_opts, 0, 0, NULL );
|
||||
|
||||
/**
|
||||
* The "nstat" command
|
||||
|
||||
Reference in New Issue
Block a user