Fix help and command line completion for "show config mappings" (Bug #3766)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Josh Roberson 21 years ago
parent f0449777db
commit 48b6ab921b

@ -1036,8 +1036,12 @@ static int config_command(int fd, int argc, char **argv)
return 0;
}
static char show_config_help[] =
"Usage: show config mappings\n"
" Shows the filenames to config engines.\n";
static struct ast_cli_entry config_command_struct = {
{ "show", "config", "mappings" }, config_command, "Show Config mappings (file names to config engines)"
{ "show", "config", "mappings", NULL }, config_command, "Show Config mappings (file names to config engines)", show_config_help, NULL
};
int register_config_cli()

Loading…
Cancel
Save