btrfs-progs: update device scan usage
authorAnand Jain <anand.jain@oracle.com>
Mon, 15 Jul 2013 05:30:49 +0000 (13:30 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 9 Aug 2013 12:32:36 +0000 (14:32 +0200)
the btrfs device scan usage didnt publish --all-devices
option so add it

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
cmds-device.c

index 3a694be..4bbf401 100644 (file)
@@ -180,7 +180,7 @@ static int cmd_rm_dev(int argc, char **argv)
 }
 
 static const char * const cmd_scan_dev_usage[] = {
-       "btrfs device scan [<device>...]",
+       "btrfs device scan [<--all-devices>|<device> [<device>...]]",
        "Scan devices for a btrfs filesystem",
        NULL
 };