minor patch to cmds-restore.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following is a minor patch to cmds-restore.c


diff --git a/cmds-restore.c b/cmds-restore.c
index c75e187..273c813 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -917,14 +917,16 @@ out:
 }

 const char * const cmd_restore_usage[] = {
-       "btrfs restore [options] <device>",
+       "btrfs restore [options] <device> [destination]",
        "Try to restore files from a damaged filesystem (unmounted)",
        "",
+       "-l              list roots",
        "-s              get snapshots",
        "-v              verbose",
        "-i              ignore errors",
        "-o              overwrite",
-       "-t              tree location",
+       "-r <rootid>     root location",
+       "-t <treeid>     tree location",
        "-f <offset>     filesystem location",
        "-u <block>      super mirror",
        "-d              find dir",


--
Jon
Software Blacksmith
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux