Add parsing for deprecated flags to avoid breaking user flows

This commit is contained in:
Jerry Zhao
2024-01-21 23:29:48 -08:00
parent be35a3fb14
commit df2ed07b25
2 changed files with 4 additions and 0 deletions

View File

@@ -93,6 +93,8 @@ do
SKIP_LIST+=(10) ;; SKIP_LIST+=(10) ;;
--skip-clean) --skip-clean)
SKIP_LIST+=(11) ;; SKIP_LIST+=(11) ;;
--force | -f | --skip-validate) # Deprecated flags
;;
* ) * )
error "invalid option $1" error "invalid option $1"
usage 1 ;; usage 1 ;;

View File

@@ -25,6 +25,8 @@ do
usage usage
exit 1 exit 1
;; ;;
--force | -f | --skip-validate) # Deprecated flags
;;
*) *)
echo "ERROR: bad argument $1" echo "ERROR: bad argument $1"
usage usage