dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
jeremy 2004-03-20 13:26:52 +00:00
parent cbab7ad59d
commit 09acc271c7
1 changed files with 4 additions and 4 deletions

View File

@ -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()