about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-09-20 21:38:42 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-09-20 21:38:42 +0200
commit8e3a3cb3d9231f5bcd282cf8429cff00beef65bb (patch)
treef8e88fd9cd5c24fde8e3933b7e946cd0b419acae /README.md
parent9c797d4df1125f5ec341b4ee17ee10daae559fd2 (diff)
downloadlr-8e3a3cb3d9231f5bcd282cf8429cff00beef65bb.tar.gz
lr-8e3a3cb3d9231f5bcd282cf8429cff00beef65bb.tar.xz
lr-8e3a3cb3d9231f5bcd282cf8429cff00beef65bb.zip
add -e REGEX as a shortcut to filter basenames
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4833d42..106ac68 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ Over ls:
 
 ## Usage:
 
-	lr [-0|-F|-l [-TA|-TC|-TM]|-S|-f FMT] [-D] [-H|-L] [-1AGQXdhsx] [-U|-o ORD] [-t TEST]* PATH...
+	lr [-0|-F|-l [-TA|-TC|-TM]|-S|-f FMT] [-D] [-H|-L] [-1AGQXdhsx] [-U|-o ORD] [-e REGEX]* [-t TEST]* PATH...
 
 The special path argument `-` makes `lr` read file names from standard
 input, instead of traversing path.
@@ -75,6 +75,7 @@ input, instead of traversing path.
 * `-x`: don't enter other filesystems.
 * `-U`: don't sort results.
 * `-o ORD`: sort according to the string `ORD`, see below.
+* `-e REGEX`: only show files where basename matches `REGEX`.
 * `-t TEST`: only show files matching all `TEST`s, see below.
 
 ## Output formatting: