summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-04-24 17:28:37 +0200
committerDavid Sterba <dsterba@suse.cz>2015-04-24 17:28:37 +0200
commit582e156bafb7257dd4a599e84796782a046e65bd (patch)
treeee36220ead074a561157463f4ba98ab97a017573
parentce72ae32d29f2ee40f28c548c7468c0adaea6c6e (diff)
btrfs-progs: fix typos in restore help/doc
Signed-off-by: David Sterba <dsterba@suse.cz>
-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
};