summaryrefslogtreecommitdiff
path: root/bin/rcdn.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rcdn.in')
-rwxr-xr-xbin/rcdn.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/rcdn.in b/bin/rcdn.in
index 0393f4d..1179b97 100755
--- a/bin/rcdn.in
+++ b/bin/rcdn.in
@@ -39,7 +39,7 @@ handle_command_line() {
local symlink_dirs=
local hostname=
- while getopts VqvhI:x:S:t:d:B: opt; do
+ while getopts :VqvhI:x:S:t:d:B: opt; do
case "$opt" in
h) show_help ;;
B) hostname="$OPTARG" ;;
@@ -53,6 +53,7 @@ handle_command_line() {
d) dotfiles_dirs="$dotfiles_dirs $OPTARG" ;;
V) version=1 ;;
x) excludes="$excludes $OPTARG" ;;
+ ?) show_help 64 ;;
esac
done
shift $(($OPTIND-1))