diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 19:54:18 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 19:54:18 +0000 |
commit | 5aacb6a82d4cf625774fa1ea39ca193a3be73b35 (patch) | |
tree | cf63baa167f81c95d3dbf417f83681851decad80 /main/cdr.c | |
parent | 4de5810a0530bca0665eadcfb06ef06fd2e86758 (diff) |
merge qwell's CLI verbification work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cdr.c')
-rw-r--r-- | main/cdr.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/main/cdr.c b/main/cdr.c index 19163cff6..4d3ca86bf 100644 --- a/main/cdr.c +++ b/main/cdr.c @@ -1011,19 +1011,15 @@ static int handle_cli_submit(int fd, int argc, char *argv[]) } static struct ast_cli_entry cli_submit = { - .cmda = { "cdr", "submit", NULL }, - .handler = handle_cli_submit, - .summary = "Posts all pending batched CDR data", - .usage = + { "cdr", "submit", NULL }, + handle_cli_submit, "Posts all pending batched CDR data", "Usage: cdr submit\n" " Posts all pending batched CDR data to the configured CDR backend engine modules.\n" }; static struct ast_cli_entry cli_status = { - .cmda = { "cdr", "status", NULL }, - .handler = handle_cli_status, - .summary = "Display the CDR status", - .usage = + { "cdr", "status", NULL }, + handle_cli_status, "Display the CDR status", "Usage: cdr status\n" " Displays the Call Detail Record engine system status.\n" }; |