diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-27 19:15:27 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-27 19:15:27 +0000 |
commit | db5bfdf1853b160509cd63b193b96be5e9b4735f (patch) | |
tree | 2204d34f09a7f492a32c4ed9a782a3db1c6892e8 /main | |
parent | bbb5aaa62f60629c105f2d79e68221476046f06a (diff) |
When showing an error message for a command, don't shorten the command output,
as it tends to confuse the user (it's fine for suggesting other commands,
however).
Reported by: seanbright (on #asterisk-dev)
Fixed by: me
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@118551 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/cli.c b/main/cli.c index 2ecf20a3d..36f20a511 100644 --- a/main/cli.c +++ b/main/cli.c @@ -2010,7 +2010,7 @@ int ast_cli_command(int fd, const char *s) break; } } else - ast_cli(fd, "No such command '%s' (type 'help' for help)\n", find_best(argv)); + ast_cli(fd, "No such command '%s' (type 'help %s' for other possible commands)\n", s, find_best(argv)); if (e) ast_atomic_fetchadd_int(&e->inuse, -1); } |