diff options
author | Sachidananda <sac@gluster.com> | 2011-06-19 12:51:45 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-06-19 21:31:39 -0700 |
commit | b64dd21f05016065e0b825db62da87981554df88 (patch) | |
tree | f0e3b8537c3a69dbb626f0065b5007b647530893 /cli/src | |
parent | d4df768b6efff0da2931396b8b9b28c5174e4d7a (diff) |
Fix the command line log to display correct error message.
Signed-off-by: Sachidananda Urs <sac@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 3054 (Typo in cli message)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3054
Diffstat (limited to 'cli/src')
-rw-r--r-- | cli/src/cli-cmd-parser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 1ef8e4e3bea..3e331848d1b 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -1037,7 +1037,9 @@ cli_cmd_log_level_parse (const char **words, int worcount, dict_t **options) ret = glusterd_check_log_level(words[5]); if (ret == -1) { - cli_out("invalid log level [%s] specified", words[4]); + cli_out("Invalid log level [%s] specified", words[5]); + cli_out("Valid values for loglevel: (DEBUG|WARNING|ERROR" + "|CRITICAL|NONE|TRACE)"); goto out; } |