summaryrefslogtreecommitdiff
path: root/cmds-restore.c
diff options
context:
space:
mode:
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>2014-06-19 09:27:09 +0800
committerDavid Sterba <dsterba@suse.cz>2014-08-22 14:43:10 +0200
commitc24c92f4aef407f6d2cb8fb6422e0f1f77ef8880 (patch)
tree534a3643945d361d7b694229c14c56b624b842f4 /cmds-restore.c
parent958bd97a55eed38c295687c2e85f9fb135f89eb3 (diff)
downloadbtrfs-progs-c24c92f4aef407f6d2cb8fb6422e0f1f77ef8880.tar.gz
btrfs-progs: restore: document updates
Add some missing options, also improve some confusing expressions. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-restore.c')
-rw-r--r--cmds-restore.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmds-restore.c b/cmds-restore.c
index 310a84e..3465f84 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -1117,9 +1117,9 @@ const char * const cmd_restore_usage[] = {
"-v verbose",
"-i ignore errors",
"-o overwrite",
- "-t <location> tree location",
- "-f <offset> filesystem location",
- "-u <block> super mirror",
+ "-t <bytenr> tree location",
+ "-f <bytenr> filesystem location",
+ "-u <mirror> super mirror",
"-r <rootid> root objectid",
"-d find dir",
"-l list tree roots",
@@ -1128,6 +1128,7 @@ const char * const cmd_restore_usage[] = {
" restore only filenames matching regex,",
" you have to use following syntax (possibly quoted):",
" ^/(|home(|/username(|/Desktop(|/.*))))$",
+ "-c ignore case (--path-regrex only)",
NULL
};