diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-11-02 23:16:09 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-11-02 23:16:09 +0000 |
commit | 10875731ecfbe329b31be706d30a81dd579c3b56 (patch) | |
tree | 273ac9aad8e573d5fda7e056e0894f20a2d4c7bf /main/pbx.c | |
parent | 7f7f2fe821f71b302d233081ee0f72e82c9701c2 (diff) |
Merged revisions 47051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/main/pbx.c b/main/pbx.c index b13c6f087..991d93f1b 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -2887,25 +2887,25 @@ void ast_unregister_switch(struct ast_switch *sw) * Help for CLI commands ... */ static char show_applications_help[] = -"Usage: core list applications [{like|describing} <text>]\n" +"Usage: core show applications [{like|describing} <text>]\n" " List applications which are currently available.\n" " If 'like', <text> will be a substring of the app name\n" " If 'describing', <text> will be a substring of the description\n"; static char show_functions_help[] = -"Usage: core list functions [like <text>]\n" +"Usage: core show functions [like <text>]\n" " List builtin functions, optionally only those matching a given string\n"; static char show_switches_help[] = -"Usage: core list switches\n" +"Usage: core show switches\n" " List registered switches\n"; static char show_hints_help[] = -"Usage: core list hints\n" +"Usage: core show hints\n" " List registered hints\n"; static char show_globals_help[] = -"Usage: core list globals\n" +"Usage: core show globals\n" " List current global dialplan variables and their values\n"; static char show_application_help[] = @@ -2917,7 +2917,7 @@ static char show_function_help[] = " Describe a particular dialplan function.\n"; static char show_dialplan_help[] = -"Usage: dialplan show [exten@][context]\n" +"Usage: core show dialplan [exten@][context]\n" " Show dialplan\n"; static char set_global_help[] = @@ -3687,23 +3687,23 @@ static int handle_set_global(int fd, int argc, char *argv[]) * CLI entries for upper commands ... */ static struct ast_cli_entry pbx_cli[] = { - { { "core", "list", "applications", NULL }, + { { "core", "show", "applications", NULL }, handle_show_applications, "Shows registered dialplan applications", show_applications_help, complete_show_applications }, - { { "core", "list", "functions", NULL }, + { { "core", "show", "functions", NULL }, handle_show_functions, "Shows registered dialplan functions", show_functions_help }, - { { "core", "list", "switches", NULL }, + { { "core", "show", "switches", NULL }, handle_show_switches, "Show alternative switches", show_switches_help }, - { { "core", "list", "hints", NULL }, + { { "core", "show", "hints", NULL }, handle_show_hints, "Show dialplan hints", show_hints_help }, - { { "core", "list", "globals", NULL }, + { { "core", "show", "globals", NULL }, handle_show_globals, "Show global dialplan variables", show_globals_help }, |