summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2014-07-09 13:19:51 +0200
committerGravatar Mike Burns <mike@mike-burns.com>2014-07-22 13:52:09 +0200
commitcf1e58d735f456e553bdb698f917713115e86c7d (patch)
treeba387819c2d9927640e300e318b88f3b5c28e05f
parent82f59f31ceef20a262846fc1912de86b9d2df677 (diff)
rcdn(1) -K -k
The rcdn(1) program is all set up to handle the `-K` and `-k` flags, except those flags were never actually allowed through `getopts`. Thanks to Mikkel Fahnøe Jørgensen for discovering this. Closes #93.
-rwxr-xr-xbin/rcdn.in2
-rw-r--r--man/rcdn.12
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/rcdn.in b/bin/rcdn.in
index e5cb119..12d57bd 100755
--- a/bin/rcdn.in
+++ b/bin/rcdn.in
@@ -40,7 +40,7 @@ handle_command_line() {
local never_symlink_dirs=
local hostname=
- while getopts :VqvhI:x:S:s:t:d:B: opt; do
+ while getopts :VqvhIKk:x:S:s:t:d:B: opt; do
case "$opt" in
h) show_help ;;
B) hostname="$OPTARG" ;;
diff --git a/man/rcdn.1 b/man/rcdn.1
index 7abc4c5..21261fd 100644
--- a/man/rcdn.1
+++ b/man/rcdn.1
@@ -6,7 +6,7 @@
.Nd remove dotfiles as managed by rcm
.Sh SYNOPSIS
.Nm rcdn
-.Op Fl hqVv
+.Op Fl hKkqVv
.Op Fl B Ar hostname
.Op Fl d Ar dir
.Op Fl I Ar excl_pat