mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 18:12:36 +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:
@@ -106,8 +106,7 @@ static struct option_descriptor fcstat_opts[] = {};
|
||||
|
||||
/** "fcstat" command descriptor */
|
||||
static struct command_descriptor fcstat_cmd =
|
||||
COMMAND_DESC ( struct fcstat_options, fcstat_opts, 0, 0,
|
||||
"", "" );
|
||||
COMMAND_DESC ( struct fcstat_options, fcstat_opts, 0, 0, "" );
|
||||
|
||||
/**
|
||||
* The "fcstat" command
|
||||
@@ -153,7 +152,7 @@ static struct option_descriptor fcels_opts[] = {
|
||||
/** "fcels" command descriptor */
|
||||
static struct command_descriptor fcels_cmd =
|
||||
COMMAND_DESC ( struct fcels_options, fcels_opts, 1, 1,
|
||||
"[--port <port>] [--id <peer_port_id>] <command>", "" );
|
||||
"[--port <port>] [--id <peer port id>] <request>" );
|
||||
|
||||
/**
|
||||
* The "fcels" command
|
||||
|
||||
Reference in New Issue
Block a user