aboutsummaryrefslogtreecommitdiffstats
path: root/src/hci/commands/ifmgmt_cmd.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2013-11-07 17:00:51 +0000
committerMichael Brown <mcb30@ipxe.org>2013-11-07 17:00:51 +0000
commit43eba2f555e2a2ed0fbedeeda73dd1720437fd97 (patch)
tree86e2decd0adbcb0e92ed8aed80b0b38023e7605a /src/hci/commands/ifmgmt_cmd.c
parent6871a8113f784f5fedb67f245e15699cdfb2b8f7 (diff)
downloadipxe-43eba2f555e2a2ed0fbedeeda73dd1720437fd97.tar.gz
[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/ifmgmt_cmd.c')
-rw-r--r--src/hci/commands/ifmgmt_cmd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hci/commands/ifmgmt_cmd.c b/src/hci/commands/ifmgmt_cmd.c
index f3d00ca38..5307c9423 100644
--- a/src/hci/commands/ifmgmt_cmd.c
+++ b/src/hci/commands/ifmgmt_cmd.c
@@ -226,9 +226,7 @@ static int ifconf_payload ( struct net_device *netdev,
/** "ifconf" command descriptor */
static struct ifcommon_command_descriptor ifconf_cmd =
IFCOMMON_COMMAND_DESC ( struct ifconf_options, ifconf_opts,
- 0, MAX_ARGUMENTS,
- "[--configurator <configurator>] "
- "[<interface>...]",
+ 0, MAX_ARGUMENTS, "[<interface>...]",
ifconf_payload, 1 );
/**