diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-04-23 18:28:40 -0700 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-04-24 15:43:52 -0700 |
commit | f9442444d8e0688c2f9aa112729baa80245643db (patch) | |
tree | 2f27a575eb5e670a288b7f4aa1009c5134d39424 | |
parent | 1dda1be2c41b0d7b6b357ebca65e1ad411b76380 (diff) |
wimaxll: when --commands is specified, only print the command names
Otherwise the output is unreadable. Need to find a way to print just
the summary.
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
-rw-r--r-- | bin/wimaxll.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/bin/wimaxll.c b/bin/wimaxll.c index e24ac1d..5a32305 100644 --- a/bin/wimaxll.c +++ b/bin/wimaxll.c @@ -134,20 +134,8 @@ static void __cmd_list_itr(gpointer _cmd, gpointer _f) { struct cmd *cmd = _cmd; - - w_print("%s: ", cmd->name); - argp_help(&cmd->argp, stdout, - 0 -// | ARGP_HELP_SHORT_USAGE -// | ARGP_HELP_SEE - | ARGP_HELP_LONG - | ARGP_HELP_PRE_DOC - | ARGP_HELP_POST_DOC - | ARGP_HELP_DOC -// | ARGP_HELP_BUG_ADDR -// | ARGP_HELP_LONG_ONLY - , - cmd->name); + + w_print("%s\n", cmd->name); } |