diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-10-13 23:35:57 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-10-13 23:35:57 +0000 |
commit | 28dacd08151f3759895a33625e1a52520829ac57 (patch) | |
tree | cd781039429dc41dacbcc8c996f6ad766d0d2b6e /pbx.c | |
parent | 7c936b8826cef30979209d11126a958404d886b6 (diff) |
use English states in 'show hints' CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rwxr-xr-x | pbx.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3145,14 +3145,14 @@ static int handle_show_hints(int fd, int argc, char *argv[]) watchers = 0; for (watcher = hint->callbacks; watcher; watcher = watcher->next) watchers++; - ast_cli(fd, " %-20.20s: %-20.20s State %2d Watchers %2d\n", + ast_cli(fd, " %-20.20s: %-20.20s State:%-15.15s Watchers %2d\n", ast_get_extension_name(hint->exten), ast_get_extension_app(hint->exten), - hint->laststate, watchers); + devstate2str(hint->laststate), watchers); num++; hint = hint->next; } ast_cli(fd, "----------------\n"); - ast_cli(fd, "- %d hints registred\n", num); + ast_cli(fd, "- %d hints registered\n", num); ast_mutex_unlock(&hintlock); return RESULT_SUCCESS; } |