about summary refs log tree commit diff
path: root/lr.1
diff options
context:
space:
mode:
Diffstat (limited to 'lr.1')
-rw-r--r--lr.16
1 files changed, 6 insertions, 0 deletions
diff --git a/lr.1 b/lr.1
index 75239bb..2dd0dc6 100644
--- a/lr.1
+++ b/lr.1
@@ -13,6 +13,7 @@
 .Op Fl 1AGQXdhsx
 .Op Fl U | Fl o Ar ord
 .br
+.Op Fl e Ar regex
 .Op Fl t Ar test
 .Op Fl C Oo Ar color Ns Li \&: Oc Ns Ar path
 .Ar path\ ...
@@ -122,6 +123,9 @@ Sort according to
 .Ar ord ,
 see
 .Sx SORT ORDER .
+.It Fl e Ar regex
+Only show files where basename matches the POSIX ERE
+.Ar regex .
 .It Fl t Ar test
 Only show files matching the expression
 .Ar test ,
@@ -129,6 +133,8 @@ see
 .Sx TESTS .
 Multiple occurrences of
 .Fl t
+and
+.Fl e
 are regarded as a conjunction.
 .It Fl C Oo Ar color Ns Li \&: Oc Ns Ar path
 Behaves as if