path: root/cmds-restore.c
diff options
authorQu Wenruo <>2013-07-23 10:43:21 +0800
committerDavid Sterba <>2013-08-09 14:32:37 +0200
commit3ca706a6ee813300b30e1603076b3e356c0deb93 (patch)
treeeee29309e11a32105a22545d7c72170c0e4d9326 /cmds-restore.c
parent2b2201bd094dd1d8d0ab2d119f36e107591f10c1 (diff)
btrfs-progs: Update the usage strings of some cmds
Update the usage strings of some cmds to keep the them consistent with the source. Also some minor changes are done to fit the man page syntax. Signed-off-by: Qu Wenruo <> Signed-off-by: David Sterba <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'cmds-restore.c')
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds-restore.c b/cmds-restore.c
index d2870d7c..70fbc387 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -1098,11 +1098,12 @@ const char * const cmd_restore_usage[] = {
"-v verbose",
"-i ignore errors",
"-o overwrite",
- "-t tree location",
+ "-t <location> tree location",
"-f <offset> filesystem location",
"-u <block> super mirror",
+ "-r <rootid> root objectid",
"-d find dir",
- "-l list roots",
+ "-l list tree roots",
"--path-regex <regex>",
" restore only filenames matching regex,",
" you have to use following syntax (possibly quoted):",