Fix CLI formatting typo (bug #4945)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6324 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
6484f1b7f8
commit
d6ab3738d8
2
cli.c
2
cli.c
|
@ -1108,7 +1108,7 @@ static int handle_help(int fd, int argc, char *argv[]) {
|
|||
e = find_cli(argv + 1, 1);
|
||||
if (e) {
|
||||
if (e->usage)
|
||||
ast_cli(fd, e->usage);
|
||||
ast_cli(fd, "%s", e->usage);
|
||||
else {
|
||||
join(fullcmd, sizeof(fullcmd), argv+1);
|
||||
ast_cli(fd, "No help text available for '%s'.\n", fullcmd);
|
||||
|
|
Reference in New Issue