summary refs log tree commit diff stats
diff options
context:
space:
mode:
authornevimov <nevimov@gmail.com>2016-06-27 14:47:36 +0700
committernevimov <nevimov@gmail.com>2016-06-27 14:59:28 +0700
commitb9f5cc6191fc82a3208a06b67fde6e0effa05e1f (patch)
tree1a6b3e09e05832dd8b101c360a14d2942c06f1e0
parentc0b3ca592d32a76e1470a9e8c0313c8a889a6ff7 (diff)
downloadranger-b9f5cc6191fc82a3208a06b67fde6e0effa05e1f.tar.gz
Document -r flag for scout command
The default rc.conf uses 'scout' with the '-r' flag in several places,
but the flag isn't documented.
-rw-r--r--doc/ranger.pod1
-rwxr-xr-xranger/config/commands.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod
index a69dc52d..7c5a7768 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -1220,6 +1220,7 @@ influence its behaviour:
  -m = mark the matching files after pressing enter
  -M = unmark the matching files after pressing enter
  -p = permanent filter: hide non-matching files after pressing enter
+ -r = interpret pattern as a regular expression pattern
  -s = smart case; like -i unless pattern contains upper case letters
  -t = apply filter and search pattern as you type
  -v = inverts the match
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 36c21f70..7507b2b1 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -1131,6 +1131,7 @@ class scout(Command):
     -m = mark the matching files after pressing enter
     -M = unmark the matching files after pressing enter
     -p = permanent filter: hide non-matching files after pressing enter
+    -r = interpret pattern as a regular expression pattern
     -s = smart case; like -i unless pattern contains upper case letters
     -t = apply filter and search pattern as you type
     -v = inverts the match