summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Documentation/btrfs-restore.asciidoc2
-rw-r--r--cmds-restore.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/btrfs-restore.asciidoc b/Documentation/btrfs-restore.asciidoc
index 89e0c87b..f66d7553 100644
--- a/Documentation/btrfs-restore.asciidoc
+++ b/Documentation/btrfs-restore.asciidoc
@@ -68,7 +68,7 @@ restore only filenames matching regex, you have to use following syntax (possibl
+^/(|home(|/username(|/Desktop(|/.*))))$+
-c::
-ignore case (--path-regrex only).
+ignore case (--path-regex only).
EXIT STATUS
-----------
diff --git a/cmds-restore.c b/cmds-restore.c
index e8775481..8cf7a1fa 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -1257,7 +1257,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)",
+ "-c ignore case (--path-regex only)",
NULL
};