[svn-commits] tilghman: branch 1.4 r118551 - /branches/1.4/main/cli.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue May 27 14:15:28 CDT 2008
Author: tilghman
Date: Tue May 27 14:15:27 2008
New Revision: 118551
URL: http://svn.digium.com/view/asterisk?view=rev&rev=118551
Log:
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
Modified:
branches/1.4/main/cli.c
Modified: branches/1.4/main/cli.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/cli.c?view=diff&rev=118551&r1=118550&r2=118551
==============================================================================
--- branches/1.4/main/cli.c (original)
+++ branches/1.4/main/cli.c Tue May 27 14:15:27 2008
@@ -2010,7 +2010,7 @@
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);
}
More information about the svn-commits
mailing list