We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dcceb8 commit bc7332fCopy full SHA for bc7332f
tools/build_test_env.sh
@@ -29,7 +29,9 @@ PY_VER=2
29
while getopts :p: opt "$@"; do
30
case $opt in
31
p) PY_VER=$OPTARG;;
32
- *) fatal "Unknown option: $opt";;
+ :) fatal "Option -${OPTARG} requires a value";;
33
+ '?') fatal "Unknown option: -${OPTARG}";;
34
+ *) fatal "Internal error: opt=${opt}";;
35
esac
36
done
37
0 commit comments