diff options
| author | Michael Brown | 2013-11-07 18:00:51 +0100 |
|---|---|---|
| committer | Michael Brown | 2013-11-07 18:00:51 +0100 |
| commit | 43eba2f555e2a2ed0fbedeeda73dd1720437fd97 (patch) | |
| tree | 86e2decd0adbcb0e92ed8aed80b0b38023e7605a /src/hci/commands/ping_cmd.c | |
| parent | [ipv6] Add IPv6 network device configurator (diff) | |
| download | ipxe-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/hci/commands/ping_cmd.c')
| -rw-r--r-- | src/hci/commands/ping_cmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hci/commands/ping_cmd.c b/src/hci/commands/ping_cmd.c index 4959f6a00..d514a2a27 100644 --- a/src/hci/commands/ping_cmd.c +++ b/src/hci/commands/ping_cmd.c @@ -60,8 +60,7 @@ static struct option_descriptor ping_opts[] = { /** "ping" command descriptor */ static struct command_descriptor ping_cmd = - COMMAND_DESC ( struct ping_options, ping_opts, 1, 1, - "[--size <size>] [--timeout <timeout>] <host>" ); + COMMAND_DESC ( struct ping_options, ping_opts, 1, 1, "<host>" ); /** * The "ping" command |
