summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2013-08-03 13:51:27 -0400
committerGravatar Mike Burns <mike@mike-burns.com>2013-08-03 13:51:27 -0400
commit4033e43d325e6ff6356eae7c899e593e4e644426 (patch)
tree42f115750649e8556524e7d05afbb162d72b9fd5 /man
parent22b4bd5555fb8c56aa3137c19ec24704ddc3f64f (diff)
rcup -f and -i
Add the `-f` and `-i` options to rcup(1). `-f` will overwrite any file it doesn't recognize; `-i` will prompt each time, and is the default. For example: rm ~/.zshrc touch ~/.zshrc rcup -f # overwrite that .zshrc with the symlink rcup -i # prompt whether to overwrite that .zshrc
Diffstat (limited to 'man')
-rw-r--r--man/rcup.118
1 files changed, 13 insertions, 5 deletions
diff --git a/man/rcup.1 b/man/rcup.1
index e7315ae..a0921b2 100644
--- a/man/rcup.1
+++ b/man/rcup.1
@@ -6,7 +6,7 @@
.Nd update and install dotfiles
.Sh SYNOPSIS
.Nm rcup
-.Op Fl vq
+.Op Fl vqfi
.Op Fl t Ar tag
.Op Fl d Ar dir
.Op Ar files ...
@@ -23,10 +23,14 @@ for details on the directory layout.
.Pp
It supports these options:
.Bl -tag
-.It Fl v
-increase verbosity. This can be repeated for extra verbosity.
-.It Fl q
-decrease verbosity
+.It f
+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 i
+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 t Ar TAG
install dotfiles according to
.Ar TAG
@@ -34,6 +38,10 @@ install dotfiles according to
install dotfiles from the
.Ar DIR
\&. This can be specified multiple times.
+.It Fl v
+increase verbosity. This can be repeated for extra verbosity.
+.It Fl q
+decrease verbosity
.It Ar files
only install the specified file(s)
.El