mirror of
https://github.com/ipxe/ipxe
synced 2025-12-31 06:49:20 +03:00
[parseopt] Refer to online documentation for command help
The online documentation (e.g. http://ipxe.org/cmd/ifopen), though not yet complete, is far more comprehensive than could be provided within the iPXE binary. Save around 200 bytes (compressed) by removing the command descriptions from the interactive help, and instead referring users directly to the web page describing the relevant command. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -53,8 +53,7 @@ static struct option_descriptor vcreate_opts[] = {
|
||||
static struct command_descriptor vcreate_cmd =
|
||||
COMMAND_DESC ( struct vcreate_options, vcreate_opts, 1, 1,
|
||||
"--tag <tag> [--priority <priority>] "
|
||||
"<trunk interface>",
|
||||
"Create a VLAN interface" );
|
||||
"<trunk interface>" );
|
||||
|
||||
/**
|
||||
* "vcreate" command
|
||||
@@ -95,8 +94,7 @@ static struct option_descriptor vdestroy_opts[] = {};
|
||||
/** "vdestroy" command descriptor */
|
||||
static struct command_descriptor vdestroy_cmd =
|
||||
COMMAND_DESC ( struct vdestroy_options, vdestroy_opts, 1, 1,
|
||||
"<VLAN interface>",
|
||||
"Destroy a VLAN interface" );
|
||||
"<VLAN interface>" );
|
||||
|
||||
/**
|
||||
* "vdestroy" command
|
||||
|
||||
Reference in New Issue
Block a user