btrfs-progs: update manpage for btrfs-image with -m option added
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 19 Jun 2014 01:46:03 +0000 (09:46 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 12:43:10 +0000 (14:43 +0200)
The btrfs-image support multiple devices with -m specified.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Documentation/btrfs-image.txt
btrfs-image.c

index 7ee820c..155194a 100644 (file)
@@ -48,6 +48,9 @@ Walk all the trees manually and copy any blocks that are referenced. Use this
 option if your extent tree is corrupted to make sure that all of the metadata is
 captured.
 
+-m::
+Restore for multiple devices, more than 1 device should be provided.
+
 EXIT STATUS
 -----------
 *btrfs-image* will return 0 if no error happened.
index 3ca3b40..c9dd023 100644 (file)
@@ -2446,6 +2446,7 @@ static void print_usage(void)
        fprintf(stderr, "\t-o      \tdon't mess with the chunk tree when restoring\n");
        fprintf(stderr, "\t-s      \tsanitize file names, use once to just use garbage, use twice if you want crc collisions\n");
        fprintf(stderr, "\t-w      \twalk all trees instead of using extent tree, do this if your extent tree is broken\n");
+       fprintf(stderr, "\t-m      \trestore for multiple devices\n");
        exit(1);
 }