summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2013-08-16 17:41:10 +0200
committerGravatar Mike Burns <mike@mike-burns.com>2013-08-16 17:41:10 +0200
commit971a2f9e5b2bcbfd0e1589dbd0dd602f7e2cd1c9 (patch)
treec39dd29f6aef2ece5be6a60ad1be18e149f3dbcc /man
parent975b347b7206a0e9caeeea8349e4765b4db654f9 (diff)
Add -kK for rcup and rcdn
The hooks can be skipped using `-K`, if needed and they can be forced with the `-k` flag.
Diffstat (limited to 'man')
-rw-r--r--man/rcdn.16
-rw-r--r--man/rcup.112
2 files changed, 14 insertions, 4 deletions
diff --git a/man/rcdn.1 b/man/rcdn.1
index 24ca1a2..d6737cf 100644
--- a/man/rcdn.1
+++ b/man/rcdn.1
@@ -6,7 +6,7 @@
.Nd remove dotfiles
.Sh SYNOPSIS
.Nm rcdn
-.Op Fl vq
+.Op Fl kKvq
.Op Fl d Ar dir
.Op Fl I Ar excl_pat
.Op Fl t Ar tag
@@ -58,6 +58,10 @@ This can be repeated with additional patterns. See
.Xr lsrc 1 ,
.Sx EXCLUDE PATTERN ,
for more details.
+.It Fl k
+run pre- and post-hooks. This is the default.
+.It Fl K
+skip pre- and post-hooks
.It Fl q
decrease verbosity
.It Fl t Ar TAG
diff --git a/man/rcup.1 b/man/rcup.1
index 4140205..9b2aa08 100644
--- a/man/rcup.1
+++ b/man/rcup.1
@@ -6,7 +6,7 @@
.Nd update and install dotfiles
.Sh SYNOPSIS
.Nm rcup
-.Op Fl Cfiqv
+.Op Fl CfikKqv
.Op Fl d Ar dir
.Op Fl I Ar excl_pat
.Op Fl t Ar tag
@@ -32,11 +32,11 @@ install dotfiles from the
.Ar DIR .
This can be specified multiple times.
.It Fl f
-If the rc file already exists in your home directory but does not match
+if the rc file already exists in your home directory but does not match
the file in your dotfiles directory, remove the rc file then create the
symlink
.It Fl i
-If the rc file already exists in your home directory but does not match
+if the rc file already exists in your home directory but does not match
the file in your dotfiles directory, prompt for how to handle it. This
is the default
.It Fl I Ar EXCL_PAT
@@ -50,6 +50,12 @@ This can be repeated with additional patterns. See
.Xr lsrc 1 ,
.Sx EXCLUDE PATTERN ,
for more details.
+.It Fl k
+run pre- and post-hooks (see
+.Sx DIRECTORY LAYOUT
+for more details on hooks). This is the default.
+.It Fl K
+skip pre- and post-hooks
.It Fl t Ar TAG
install dotfiles according to
.Ar TAG