aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authortwisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-17 00:35:06 +0000
committertwisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-17 00:35:06 +0000
commit0cbe22734bb7a4b1b8e4b65150292786c377ee21 (patch)
treec075b84866b85660a2cd40f4d9a4ddd9d2d044b9 /config.c
parent886d84c9de079a816673238c39820302a78b314b (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-xconfig.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.c b/config.c
index 1c7c6cb95..afe7211f7 100755
--- a/config.c
+++ b/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()