Add parsing for deprecated flags to avoid breaking user flows
This commit is contained in:
@@ -93,6 +93,8 @@ do
|
||||
SKIP_LIST+=(10) ;;
|
||||
--skip-clean)
|
||||
SKIP_LIST+=(11) ;;
|
||||
--force | -f | --skip-validate) # Deprecated flags
|
||||
;;
|
||||
* )
|
||||
error "invalid option $1"
|
||||
usage 1 ;;
|
||||
|
||||
@@ -25,6 +25,8 @@ do
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
--force | -f | --skip-validate) # Deprecated flags
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: bad argument $1"
|
||||
usage
|
||||
|
||||
Reference in New Issue
Block a user