summaryrefslogtreecommitdiffstats
path: root/src/core/exec.c
diff options
context:
space:
mode:
authorMichael Brown2013-11-07 18:00:51 +0100
committerMichael Brown2013-11-07 18:00:51 +0100
commit43eba2f555e2a2ed0fbedeeda73dd1720437fd97 (patch)
tree86e2decd0adbcb0e92ed8aed80b0b38023e7605a /src/core/exec.c
parent[ipv6] Add IPv6 network device configurator (diff)
downloadipxe-43eba2f555e2a2ed0fbedeeda73dd1720437fd97.tar.gz
ipxe-43eba2f555e2a2ed0fbedeeda73dd1720437fd97.tar.xz
ipxe-43eba2f555e2a2ed0fbedeeda73dd1720437fd97.zip
[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>
Diffstat (limited to 'src/core/exec.c')
-rw-r--r--src/core/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/exec.c b/src/core/exec.c
index 843a51db..1c85705a 100644
--- a/src/core/exec.c
+++ b/src/core/exec.c
@@ -397,7 +397,7 @@ static struct option_descriptor echo_opts[] = {
/** "echo" command descriptor */
static struct command_descriptor echo_cmd =
COMMAND_DESC ( struct echo_options, echo_opts, 0, MAX_ARGUMENTS,
- "[-n] [...]" );
+ "[...]" );
/**
* "echo" command