diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-02 23:00:20 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-02 23:00:20 +0000 |
commit | c771976500a03e9be6ca67f3c3ccc31f6c32f232 (patch) | |
tree | 52931b68b54d2adc957438ad058cf1971c3b02c4 /main/pbx.c | |
parent | 2191f5490fdb07dc7cbf6772dbf9e946e081e4c4 (diff) |
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47051 f38db490-d61c-443f-a65b-d21fe96a405b
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 0223b9188..2acf75888 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -2966,25 +2966,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[] = @@ -2996,7 +2996,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[] = @@ -3731,23 +3731,23 @@ static struct ast_cli_entry cli_set_global_deprecated = { NULL }; 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, &cli_show_applications_deprecated }, - { { "core", "list", "functions", NULL }, + { { "core", "show", "functions", NULL }, handle_show_functions, "Shows registered dialplan functions", show_functions_help, NULL, &cli_show_functions_deprecated }, - { { "core", "list", "switches", NULL }, + { { "core", "show", "switches", NULL }, handle_show_switches, "Show alternative switches", show_switches_help, NULL, &cli_show_switches_deprecated }, - { { "core", "list", "hints", NULL }, + { { "core", "show", "hints", NULL }, handle_show_hints, "Show dialplan hints", show_hints_help, NULL, &cli_show_hints_deprecated }, - { { "core", "list", "globals", NULL }, + { { "core", "show", "globals", NULL }, handle_show_globals, "Show global dialplan variables", show_globals_help, NULL, &cli_show_globals_deprecated }, |