summaryrefslogtreecommitdiff
path: root/bin/rcup
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rcup')
-rwxr-xr-xbin/rcup8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/rcup b/bin/rcup
index df9adac..af7a012 100755
--- a/bin/rcup
+++ b/bin/rcup
@@ -80,18 +80,18 @@ handle_command_line() {
local always_copy=0
REPLACE_ALL=0
- while getopts CVqvfiI:e:t:d: opt; do
+ while getopts CVqvfiI:x:t:d: opt; do
case "$opt" in
C) always_copy=1 ;;
d) dotfiles_dirs="$dotfiles_dirs $OPTARG" ;;
- e) excludes="$excludes $OPTARG" ;;
f) REPLACE_ALL=1 ;;
i) REPLACE_ALL=0 ;;
I) includes="$includes $OPTARG" ;;
q) verbosity=$(($verbosity - 1)) ;;
t) arg_tags="$arg_tags $OPTARG" ;;
v) verbosity=$(($verbosity + 1)) ;;
- V) version=1
+ V) version=1 ;;
+ x) excludes="$excludes $OPTARG" ;;
esac
done
shift $(($OPTIND-1))
@@ -113,7 +113,7 @@ handle_command_line() {
LS_ARGS="$LS_ARGS -d $dotfiles_dir"
done
for exclude in $excludes; do
- LS_ARGS="$LS_ARGS -e $exclude"
+ LS_ARGS="$LS_ARGS -x $exclude"
done
for include in $includes; do
LS_ARGS="$LS_ARGS -I $include"