about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-10-28 12:04:52 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-10-28 12:04:52 +0100
commit3dbdefe02ade8f7fc47d920bfbf1b49835d7be07 (patch)
treee15924ace4c3e2c0912b963700ac01c781b4d5a1 /README.md
parentf71e7b878a79f0a76f678070a154a0b1b6208e68 (diff)
downloadlr-3dbdefe02ade8f7fc47d920bfbf1b49835d7be07.tar.gz
lr-3dbdefe02ade8f7fc47d920bfbf1b49835d7be07.tar.xz
lr-3dbdefe02ade8f7fc47d920bfbf1b49835d7be07.zip
add prefix stripping, generalize -s
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 37f953c..dc2c9ea 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,7 @@ Over ls:
 * `-Q`: don't shell quote file names.
 * `-d`: don't enter directories.
 * `-h`: print human readable size for `-l` (also `%s`).
-* `-s`: don't print leading `./`.
+* `-s`: strip directory prefix passed on command line.
 * `-x`: don't enter other filesystems.
 * `-U`: don't sort results.
 * `-o ORD`: sort according to the string `ORD`, see below.
@@ -72,7 +72,8 @@ Over ls:
 * `%R`: device ID for special files (`stat.st_rdev`).
 * `%i`: inode number.
 * `%I`: one space character for every depth level.
-* `%p`: full path (without `./` if `-s`).
+* `%p`: full path (`%P` if `-s`).
+* `%P`: full path without command line argument prefix.
 * `%l`: symlink target.
 * `%n`: number of hardlinks.
 * `%F`: file indicator type symbol (`*/=>@|`).