summaryrefslogtreecommitdiff
path: root/man/lsrc.1
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2013-08-05 04:41:38 +0200
committerGravatar Mike Burns <mike@mike-burns.com>2013-08-05 05:57:18 +0200
commit122bbf0c6da226fc7e8a7e2a8d173b3e6259f7cf (patch)
treea161a071a42e9af7bd7feb301a0497e7d8a2b147 /man/lsrc.1
parent63b50643b0ffd287d0070e494625056a05081ce8 (diff)
Inclusionary patterns: -I
The `-I` flag serves as an "undo" for the `-e` pattern. It overrides any matching exclusions, allowing for temporary listing/installation/removal. For example, if you want to try a `.pythonrc` but leave it in your `EXCLUDES` in rcrc(5), you can do: rcup -Ipythonrc pythonrc
Diffstat (limited to 'man/lsrc.1')
-rw-r--r--man/lsrc.114
1 files changed, 12 insertions, 2 deletions
diff --git a/man/lsrc.1 b/man/lsrc.1
index 863ceb8..fb48680 100644
--- a/man/lsrc.1
+++ b/man/lsrc.1
@@ -7,9 +7,10 @@
.Sh SYNOPSIS
.Nm lsrc
.Op Fl vq
-.Op Fl t Ar tag
.Op Fl d Ar dir
.Op Fl e Ar excl_pat
+.Op Fl I Ar excl_pat
+.Op Fl t Ar tag
.Op files ...
.Sh DESCRIPTION
This program lists all configuration files, both the sources in the
@@ -31,10 +32,19 @@ list dotfiles according to TAG
list dotfiles from the DIR. This can be specified multiple times.
.
.It Fl e Ar excl_pat
-Exclude the files that matches the given pattern. See
+exclude the files that match the given pattern. See
.Sx EXCLUDE PATTERN
for more details. This option can be repeated.
.
+.It Fl I Ar excl_pat
+include the files that match the given pattern. This is applied after
+any
+.Fl e
+options. It uses the same pattern language as
+.Fl e ;
+more details are in the
+.Sx EXCLUDE PATTERN
+section.
.It Fl v
increase verbosity. This can be repeated for extra verbosity.
.