diff options
author | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-17 00:35:06 +0000 |
---|---|---|
committer | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-17 00:35:06 +0000 |
commit | 0cbe22734bb7a4b1b8e4b65150292786c377ee21 (patch) | |
tree | c075b84866b85660a2cd40f4d9a4ddd9d2d044b9 /config.c | |
parent | 886d84c9de079a816673238c39820302a78b314b (diff) |
Fix help and command line completion for "show config mappings" (Bug #3766)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5185 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'config.c')
-rwxr-xr-x | config.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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() |