From cf1e58d735f456e553bdb698f917713115e86c7d Mon Sep 17 00:00:00 2001 From: Mike Burns Date: Wed, 9 Jul 2014 13:19:51 +0200 Subject: rcdn(1) -K -k MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- bin/rcdn.in | 2 +- man/rcdn.1 | 2 +- 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 -- cgit v1.2.3