summaryrefslogtreecommitdiff
path: root/cmds-scrub.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2013-07-23 10:43:21 +0800
committerDavid Sterba <dsterba@suse.cz>2013-08-09 14:32:37 +0200
commit3ca706a6ee813300b30e1603076b3e356c0deb93 (patch)
treeeee29309e11a32105a22545d7c72170c0e4d9326 /cmds-scrub.c
parent2b2201bd094dd1d8d0ab2d119f36e107591f10c1 (diff)
btrfs-progs: Update the usage strings of some cmds
Update the usage strings of some cmds to keep the them consistent with the source. Also some minor changes are done to fit the man page syntax. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'cmds-scrub.c')
-rw-r--r--cmds-scrub.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds-scrub.c b/cmds-scrub.c
index a5b80e0a..91791669 100644
--- a/cmds-scrub.c
+++ b/cmds-scrub.c
@@ -1508,13 +1508,14 @@ out:
}
static const char * const cmd_scrub_start_usage[] = {
- "btrfs scrub start [-Bdqr] [-c ioprio_class -n ioprio_classdata] <path>|<device>",
+ "btrfs scrub start [-BdqrR] [-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)",
NULL
@@ -1569,7 +1570,7 @@ out:
}
static const char * const cmd_scrub_resume_usage[] = {
- "btrfs scrub resume [-Bdqr] [-c ioprio_class -n ioprio_classdata] <path>|<device>",
+ "btrfs scrub resume [-BdqrR] [-c ioprio_class -n ioprio_classdata] <path>|<device>",
"Resume previously canceled or interrupted scrub",
"",
"-B do not background",