[Cryptech-Commits] [user/ft/libcli] 02/03: cli_show_help: allow for wider commands

git at cryptech.is git at cryptech.is
Tue Jun 21 19:00:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

fredrik at thulin.net pushed a commit to branch master
in repository user/ft/libcli.

commit 550fc9afaf3bbc83a2ec210d318dcc07d19a7927
Author: Fredrik Thulin <fredrik at thulin.net>
AuthorDate: Tue Jun 21 21:00:18 2016 +0200

    cli_show_help: allow for wider commands
---
 libcli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcli.c b/libcli.c
index 8f08cee..f4931ff 100644
--- a/libcli.c
+++ b/libcli.c
@@ -313,7 +313,7 @@ int cli_show_help(struct cli_def *cli, struct cli_command *c)
         if (p->command && p->callback && cli->privilege >= p->privilege &&
             (p->mode == cli->mode || p->mode == MODE_ANY))
         {
-            cli_error(cli, "  %-20s %s", cli_command_name(cli, p), (p->help != NULL ? p->help : ""));
+            cli_error(cli, "  %-35s %s", cli_command_name(cli, p), (p->help != NULL ? p->help : ""));
         }
 
         if (p->children)



More information about the Commits mailing list