This commit is contained in:
Austen Adler 2017-11-28 16:27:48 -05:00
parent 0ddb5f420b
commit b574799f63

View File

@ -102,13 +102,13 @@ remove() {
\mv -t "$TMP_PATH" $*
fi
}
while getopts ":shbc" OPT "$@"; do
while getopts ":shbcr" OPT "$@"; do
case $OPT in
b) SYNC_VIM=1;VALID_CMD=1;;
s) SYNC_CUSTOM=1;;
c) SYNC_CONFIG=1;VALID_CMD=1;;
r) RECLONE=1;;
*) SHOW_HELP=1;;
*) echo "Invalid option: $OPT";SHOW_HELP=1;;
esac
done
if [[ $SHOW_HELP = 1 ]] || [[ ! $VALID_CMD = 1 ]]; then