From 43eba2f555e2a2ed0fbedeeda73dd1720437fd97 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 7 Nov 2013 17:00:51 +0000 Subject: [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 --- src/hci/commands/ifmgmt_cmd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/hci/commands/ifmgmt_cmd.c') 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 ] " - "[...]", + 0, MAX_ARGUMENTS, "[...]", ifconf_payload, 1 ); /** -- cgit