Skip to content

Commit

Permalink
Add parsing for deprecated flags to avoid breaking user flows
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Jan 22, 2024
1 parent be35a3f commit df2ed07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;;
Expand Down
2 changes: 2 additions & 0 deletions scripts/init-submodules-no-riscv-tools-nolog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ do
usage
exit 1
;;
--force | -f | --skip-validate) # Deprecated flags
;;
*)
echo "ERROR: bad argument $1"
usage
Expand Down

0 comments on commit df2ed07

Please sign in to comment.