[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:
@@ -43,8 +43,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
/** "dhcp" command descriptor */
|
||||
static struct command_descriptor dhcp_cmd =
|
||||
COMMAND_DESC ( struct ifcommon_options, ifcommon_opts, 0, MAX_ARGUMENTS,
|
||||
"[<interface>] [<interface>...]",
|
||||
"Configure network interface(s) using DHCP" );
|
||||
"[<interface>...]" );
|
||||
|
||||
/**
|
||||
* Execute "dhcp" command for a network device
|
||||
@@ -88,8 +87,7 @@ static struct option_descriptor pxebs_opts[] = {};
|
||||
/** "pxebs" command descriptor */
|
||||
static struct command_descriptor pxebs_cmd =
|
||||
COMMAND_DESC ( struct pxebs_options, pxebs_opts, 2, 2,
|
||||
"<interface> <server_type>",
|
||||
"Perform PXE Boot Server discovery" );
|
||||
"<interface> <server type>" );
|
||||
|
||||
/**
|
||||
* The "pxebs" command
|
||||
|
||||
Reference in New Issue
Block a user