diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-20 13:26:52 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-20 13:26:52 +0000 |
commit | 09acc271c7cc1b7b8d018089c23dfe3014b1f7ee (patch) | |
tree | bf3a2d69b1ba6dc7c2f7c7287a8489cc0d6069e1 /channels | |
parent | cbab7ad59d0d6962090b3d1d53f87c639f2618da (diff) |
Change 'show locals' into 'local show channels' to follow other channel methods. Bug #1255
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2496 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_local.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index afce4aff7..0d56ec27a 100755 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -458,7 +458,7 @@ static int locals_show(int fd, int argc, char **argv) { struct local_pvt *p; - if (argc != 2) + if (argc != 3) return RESULT_SHOWUSAGE; ast_mutex_lock(&locallock); p = locals; @@ -475,11 +475,11 @@ static int locals_show(int fd, int argc, char **argv) } static char show_locals_usage[] = -"Usage: show locals\n" -" Provides summary information on locals.\n"; +"Usage: local show channels\n" +" Provides summary information on local channels.\n"; static struct ast_cli_entry cli_show_locals = { - { "show", "locals", NULL }, locals_show, + { "local", "show", "channels", NULL }, locals_show, "Show status of local channels", show_locals_usage, NULL }; int load_module() |