Deprecate command parameters not starting with dash here too

This commit is contained in:
JRGTH
2021-07-08 15:37:36 -04:00
parent 5c4d69775f
commit 17ea19bf65
2 changed files with 8 additions and 8 deletions

View File

@@ -63,12 +63,12 @@ OPT_ZRECV="-u"
# Handle and parse option args
while [ $# -gt 0 ]; do
case "${1}" in
-f|force|--force)
-f|--force)
OPT_FORCE="1"
TARGET="${2}"
shift
;;
-v|verbose|--verbose)
-v|--verbose)
OPT_ZRECV="-u -v"
TARGET="${2}"
shift