Skip to content

Commit

Permalink
Fix displaying usage message when ./run_demo.sh is passed invalid arg…
Browse files Browse the repository at this point in the history
…uments
  • Loading branch information
chrisburr committed Oct 14, 2023
1 parent 372c230 commit 24f159b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ while [ -n "${1:-}" ]; do case $1 in
# Invalid option: abort
--*|-?*)
>&2 printf '%b %s: Invalid option: "%s"\n' ${SKULL_EMOJI} "${0##*/}" "$1"
>&2 printf 'Usage: %s\n' "$usage"
>&2 printf 'Usage: %b\n' "$usage"
exit 1 ;;

# Argument not prefixed with a dash
Expand Down

0 comments on commit 24f159b

Please sign in to comment.