aboutsummaryrefslogtreecommitdiffstats
path: root/btrfs-image.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2014-11-24 15:27:44 +0800
committerDavid Sterba <dsterba@suse.cz>2015-01-21 17:23:23 +0100
commit39568fa417ceee3133a8cadae0bd1527adf61221 (patch)
tree5022aecd08bc2785b2e43dc0bb77ece2f6506f1c /btrfs-image.c
parent751fe9b91638c34eeae6e1b469b7ec6184d6107e (diff)
downloadbtrfs-progs-39568fa417ceee3133a8cadae0bd1527adf61221.tar.gz
btrfs-progs-39568fa417ceee3133a8cadae0bd1527adf61221.tar.xz
btrfs-progs-39568fa417ceee3133a8cadae0bd1527adf61221.zip
btrfs-progs: Doc: Add explain on 'source' and 'target' for btrfs-image.
Add explain on 'source' and 'target', which is somewhat confusing for users who want to restore dumped image. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> [reworded texts] Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'btrfs-image.c')
-rw-r--r--btrfs-image.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/btrfs-image.c b/btrfs-image.c
index cb17f16..1341bf1 100644
--- a/btrfs-image.c
+++ b/btrfs-image.c
@@ -2466,6 +2466,9 @@ static void print_usage(void)
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");
+ fprintf(stderr, "\n");
+ fprintf(stderr, "\tIn the dump mode, source is the btrfs device and target is the output file (use '-' for stdout).\n");
+ fprintf(stderr, "\tIn the restore mode, source is the dumped image and target is the btrfs device/file.\n");
exit(1);
}