aboutsummaryrefslogtreecommitdiffstats
path: root/main/cli.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-06 07:23:32 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-06 07:23:32 +0000
commit8048b9c7182af432df0b85927e96fe6b797be420 (patch)
tree9ca92bfb0f05d9e2693784191062a83ff4cc5373 /main/cli.c
parent5087e63494d352e19564ec9c35ee09e4d72674bc (diff)
Constify a bunch of the usage strings for CLI commands.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48302 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r--main/cli.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/cli.c b/main/cli.c
index ae0eaac3d..cd2e40748 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -75,17 +75,17 @@ void ast_cli(int fd, char *fmt, ...)
static AST_LIST_HEAD_STATIC(helpers, ast_cli_entry);
-static char logger_mute_help[] =
+static const char logger_mute_help[] =
"Usage: logger mute\n"
" Disables logging output to the current console, making it possible to\n"
" gather information without being disturbed by scrolling lines.\n";
-static char softhangup_help[] =
+static const char softhangup_help[] =
"Usage: soft hangup <channel>\n"
" Request that a channel be hung up. The hangup takes effect\n"
" the next time the driver reads or writes from the channel\n";
-static char group_show_channels_help[] =
+static const char group_show_channels_help[] =
"Usage: group show channels [pattern]\n"
" Lists all currently active channels with channel group(s) specified.\n"
" Optional regular expression pattern is matched to group names for each\n"
@@ -561,21 +561,21 @@ static char *handle_chanlist(struct ast_cli_entry *e, int cmd, struct ast_cli_ar
#undef VERBOSE_FORMAT_STRING2
}
-static char showchan_help[] =
+static const char showchan_help[] =
"Usage: core show channel <channel>\n"
" Shows lots of information about the specified channel.\n";
-static char commandcomplete_help[] =
+static const char commandcomplete_help[] =
"Usage: _command complete \"<line>\" text state\n"
" This function is used internally to help with command completion and should.\n"
" never be called by the user directly.\n";
-static char commandnummatches_help[] =
+static const char commandnummatches_help[] =
"Usage: _command nummatches \"<line>\" text \n"
" This function is used internally to help with command completion and should.\n"
" never be called by the user directly.\n";
-static char commandmatchesarray_help[] =
+static const char commandmatchesarray_help[] =
"Usage: _command matchesarray \"<line>\" text \n"
" This function is used internally to help with command completion and should.\n"
" never be called by the user directly.\n";