From 9f7557a50584dd71e7d84cedf16d4937dc821f42 Mon Sep 17 00:00:00 2001 From: Gaurav Kumar Garg Date: Thu, 16 Apr 2015 17:50:04 +0530 Subject: cli,doc: man page of gluster (man gluster) should show bitrot command information Currently when user type incorrent bitrot specific command then every time cli error suggest wrong command to reuse. With this fix it cli will suggest specific bitrot command when user type wrong bitrot command. With this fix it will also display bitrot command information in man page by typing 'man gluster' Change-Id: I7dbf31332a8cc0723e54e8a37fea0afe19d95e0e BUG: 1207532 Signed-off-by: Gaurav Kumar Garg Reviewed-on: http://review.gluster.org/10273 Tested-by: Gluster Build System Reviewed-by: Venky Shankar Reviewed-by: Atin Mukherjee Tested-by: NetBSD Build System Reviewed-by: Kaushal M --- cli/src/cli-cmd-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/src/cli-cmd-parser.c') diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 74e8453dd6b..bb0af2fc383 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -4933,7 +4933,7 @@ cli_cmd_bitrot_parse (const char **words, int wordcount, dict_t **options) "scrub-throttle", "scrub-frequency", "scrub", NULL}; - char *scrub_throt_values[] = {"frozen", "lazy", "normal", + char *scrub_throt_values[] = {"lazy", "normal", "aggressive", NULL}; char *scrub_freq_values[] = {"daily", "weekly", "biweekly", "monthly", -- cgit