about summary refs log tree commit diff
path: root/lr.1
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-06-20 17:07:28 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-06-20 17:07:28 +0200
commitde33e3a8fa8715ad5f7c46e7f9638e45dcd757f9 (patch)
tree68c608f8dac241baf3455d8afff010413c28a4b7 /lr.1
parent7e14d8b44db30b06355754a519030fb49dcf7b8f (diff)
downloadlr-de33e3a8fa8715ad5f7c46e7f9638e45dcd757f9.tar.gz
lr-de33e3a8fa8715ad5f7c46e7f9638e45dcd757f9.tar.xz
lr-de33e3a8fa8715ad5f7c46e7f9638e45dcd757f9.zip
lr: add -C to allow coloring of files
Diffstat (limited to 'lr.1')
-rw-r--r--lr.112
1 files changed, 12 insertions, 0 deletions
diff --git a/lr.1 b/lr.1
index 471b68a..d44ea4e 100644
--- a/lr.1
+++ b/lr.1
@@ -12,7 +12,9 @@
 .Op Fl H | Fl L
 .Op Fl 1AGQdhsx
 .Op Fl U | Fl o Ar ord
+.br
 .Op Fl t Ar test
+.Op Fl C Oo Ar color Ns Li \&: Oc Ns Ar path
 .Ar path\ ...
 .Sh DESCRIPTION
 .Nm
@@ -122,6 +124,16 @@ see
 Multiple occurences of
 .Fl t
 are regarded as a conjunction.
+.It Fl C Oo Ar color Ns Li \&: Oc Ns Ar path
+Behaves as if
+.Ar path
+was passed like an ordinary argument,
+but overrides the color of the file names to the number
+.Ar color
+which must be between 0 and 255 (default: 2, green).
+.Pp
+Implies
+.Fl GG .
 .El
 .Sh FORMATTING
 .Nm