summaryrefslogtreecommitdiffstats
path: root/src/core/exec.c
diff options
context:
space:
mode:
authorMichael Brown2011-03-04 13:14:51 +0100
committerMichael Brown2011-03-04 13:18:51 +0100
commit7d5dcc92994dae75831453b8d7fff411f23d9126 (patch)
tree2f12b637301709393c2c0d24aca6e6a1222ce272 /src/core/exec.c
parent[arbel] Make driver 64-bit safe (diff)
downloadipxe-7d5dcc92994dae75831453b8d7fff411f23d9126.tar.gz
ipxe-7d5dcc92994dae75831453b8d7fff411f23d9126.tar.xz
ipxe-7d5dcc92994dae75831453b8d7fff411f23d9126.zip
[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>
Diffstat (limited to 'src/core/exec.c')
-rw-r--r--src/core/exec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/exec.c b/src/core/exec.c
index 57b2df58..e6f20487 100644
--- a/src/core/exec.c
+++ b/src/core/exec.c
@@ -298,8 +298,7 @@ static struct option_descriptor exit_opts[] = {};
/** "exit" command descriptor */
static struct command_descriptor exit_cmd =
- COMMAND_DESC ( struct exit_options, exit_opts, 0, 1,
- "[<status>]", "" );
+ COMMAND_DESC ( struct exit_options, exit_opts, 0, 1, "[<status>]" );
/**
* "exit" command
@@ -344,7 +343,7 @@ static struct option_descriptor isset_opts[] = {};
/** "isset" command descriptor */
static struct command_descriptor isset_cmd =
COMMAND_DESC ( struct isset_options, isset_opts, 0, MAX_ARGUMENTS,
- "[...]", "" );
+ "[...]" );
/**
* "isset" command