summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>2014-08-11 11:49:35 +0900
committerDavid Sterba <dsterba@suse.cz>2014-08-22 16:09:48 +0200
commit092a9bdd64d2110a847d7808dba8fa2f3f8e13c1 (patch)
treee9c8d9507f76ece1f813341c2d92999490176592
parent8f921e4859d9bda35e94690330f401a2cdd102f0 (diff)
btrfs-progs: random fixes for usage string of btrfs scrub
- Add missing description about "-R" option in the command usage of "btrfs scrub resume". - Add missing comma to avoid the following misformatted command usage of "btrfs scrub start". See the line of "-R" option. === usage: btrfs scrub start [-BdqrRf] [-c ioprio_class -n ioprio_classdata] <path>|<device> Start a new scrub -B do not background -d stats per device (-B only) -q be quiet -r read only mode -R raw print mode, print full data instead of summary-c set ioprio class (see ionice(1) manpage) -n set ioprio classdata (see ionice(1) manpage) -f force to skip checking whether scrub has started/resumed in userspace this is useful when scrub stats record file is damaged === Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
-rw-r--r--cmds-scrub.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds-scrub.c b/cmds-scrub.c
index d4acfd22..731c5c94 100644
--- a/cmds-scrub.c
+++ b/cmds-scrub.c
@@ -1533,10 +1533,10 @@ static const char * const cmd_scrub_start_usage[] = {
"-d stats per device (-B only)",
"-q be quiet",
"-r read only mode",
- "-R raw print mode, print full data instead of summary"
+ "-R raw print mode, print full data instead of summary",
"-c set ioprio class (see ionice(1) manpage)",
"-n set ioprio classdata (see ionice(1) manpage)",
- "-f force starting new scrub even if a scrub is already running.",
+ "-f force starting new scrub even if a scrub is already running",
" this is useful when scrub stats record file is damaged",
NULL
};
@@ -1605,6 +1605,7 @@ static const char * const cmd_scrub_resume_usage[] = {
"-d stats per device (-B only)",
"-q be quiet",
"-r read only mode",
+ "-R raw print mode, print full data instead of summary",
"-c set ioprio class (see ionice(1) manpage)",
"-n set ioprio classdata (see ionice(1) manpage)",
NULL