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 /res/res_odbc.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 'res/res_odbc.c')
-rw-r--r-- | res/res_odbc.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/res/res_odbc.c b/res/res_odbc.c index 444e4f4d5..036b02151 100644 --- a/res/res_odbc.c +++ b/res/res_odbc.c @@ -338,19 +338,14 @@ static int odbc_show_command(int fd, int argc, char **argv) } static char show_usage[] = -"Usage: odbc list [<class>]\n" +"Usage: odbc show [<class>]\n" " List settings of a particular ODBC class.\n" " or, if not specified, all classes.\n"; -static struct ast_cli_entry cli_odbc_show_deprecated = { - { "odbc", "show", NULL }, - odbc_show_command, NULL, - NULL }; - static struct ast_cli_entry cli_odbc[] = { - { { "odbc", "list", NULL }, + { { "odbc", "show", NULL }, odbc_show_command, "List ODBC DSN(s)", - show_usage, NULL, &cli_odbc_show_deprecated }, + show_usage }, }; static int odbc_register_class(struct odbc_class *class, int connect) |