Skip to content

Commit

Permalink
Exit on bad inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Oct 31, 2024
1 parent 1cc4078 commit 9ae1490
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workflow/generate_workflows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,12 @@ while [[ $# -gt 0 && "$1" != "--" ]]; do
:)
echo "[${BASH_SOURCE[0]}]: ${option} requires an argument"
_usage
exit 1
;;
*)
echo "[${BASH_SOURCE[0]}]: Unrecognized option: ${option}"
_usage
exit 1
;;
esac
done
Expand Down

0 comments on commit 9ae1490

Please sign in to comment.