mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
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
This commit is contained in:
6
config.c
6
config.c
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user