mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
merge qwell's CLI verbification work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
12
main/cdr.c
12
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"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user