btrfs-progs: Modify the help string to keep consistent with man page.
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Wed, 19 Mar 2014 06:10:02 +0000 (06:10 +0000)
committerDavid Sterba <dsterba@suse.cz>
Fri, 11 Apr 2014 17:05:40 +0000 (19:05 +0200)
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>
cmds-device.c

index 309b49e..c8586a0 100644 (file)
@@ -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
 };