summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2014-03-19 06:10:02 +0000
committerDavid Sterba <dsterba@suse.cz>2014-04-11 19:05:40 +0200
commit1c1c7caf5545f25965cf94cd840f53a58ea67648 (patch)
tree8002c483525291af0c987866ea70c33710219a6d
parent1d2b8a3f0b279acd94f892486dca4157da537b6c (diff)
downloadbtrfs-progs-1c1c7caf5545f25965cf94cd840f53a58ea67648.tar.gz
btrfs-progs: Modify the help string to keep consistent with man page.
Help string of "btrfs dev scan" is inconsistent with man page, which lacks the fact that -d|--all-device is conflict with <device>. This patch fixes the description Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
-rw-r--r--cmds-device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmds-device.c b/cmds-device.c
index 309b49e..c8586a0 100644
--- a/cmds-device.c
+++ b/cmds-device.c
@@ -187,9 +187,8 @@ static int cmd_rm_dev(int argc, char **argv)
}
static const char * const cmd_scan_dev_usage[] = {
- "btrfs device scan [options] [<device> [<device>...]]",
+ "btrfs device scan [(-d|--all-devices)|<device> [<device>...]]",
"Scan devices for a btrfs filesystem",
- "-d|--all-devices scan all devices under /dev",
NULL
};