diff options
Diffstat (limited to 'cli/src')
| -rw-r--r-- | cli/src/cli-cmd-parser.c | 2 | ||||
| -rw-r--r-- | cli/src/cli-cmd-volume.c | 25 | 
2 files changed, 8 insertions, 19 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 8f61e9634e7..b163b85f95f 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -4873,7 +4873,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", diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index ae091b3182e..014afad6738 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -2678,25 +2678,14 @@ struct cli_cmd volume_cmds[] = {           cli_cmd_volume_getopt_cbk,           "Get the value of the all options or given option for volume <VOLNAME>"          }, -        {"volume bitrot <VOLNAME> {enable|disable}", +        {"volume bitrot <VOLNAME> {enable|disable} |\n" +         "volume bitrot <volname> scrub-throttle {lazy|normal|aggressive} |\n" +         "volume bitrot <volname> scrub-frequency {daily|weekly|biweekly" +         "|monthly} |\n" +         "volume bitrot <volname> scrub {pause|resume}",           cli_cmd_bitrot_cbk, -         "Enable/disable bitrot for volume <VOLNAME>" -        }, -        {"volume bitrot <VOLNAME> {scrub-throttle frozen|lazy|normal" -         "|aggressive}", -         cli_cmd_bitrot_cbk, -         "Scrub-throttle value is a measure of how fast or slow the scrubber " -         "scrubs the filesystem for volume <VOLNAME>" -        }, -        {"volume bitrot <VOLNAME> {scrub-frequency daily|weekly|biweekly" -         "|monthly", -         cli_cmd_bitrot_cbk, -         "Scrub frequency for volume <VOLNAME>" -        }, -        {"volume bitrot <VOLNAME> {scrub pause|resume}", -          cli_cmd_bitrot_cbk, -         "Pause/Resume scrub. Upon resume, scrubber continues where it " -         "left off." +         "Bitrot translator specific operation. For more information about " +         "bitrot command type  'man gluster'"          },          { NULL, NULL, NULL }  };  | 
