diff --git a/bin/ioccc-status.sh b/bin/ioccc-status.sh index fd5949d96..42b84d2db 100755 --- a/bin/ioccc-status.sh +++ b/bin/ioccc-status.sh @@ -24,7 +24,7 @@ # # The -G option lets one set the path to grep(1). # -export IOCCC_STATUS_SCRIPT_VERSION="0.0.3-0 2024-01-15" # major.minor.release-patch YYYY-MM-DD +export IOCCC_STATUS_SCRIPT_VERSION="0.0.4-0 2024-01-22" # major.minor.release-patch YYYY-MM-DD SED="$(type -P sed)" GREP="$(type -P grep)" @@ -109,8 +109,9 @@ shift $(( OPTIND - 1 )); # verify arg count # -if [[ $# -gt 1 ]]; then +if [[ $# != 1 ]]; then echo "$0: ERROR: expected no more than 1 arg, found: $#" 1>&2 + echo 1>&2 echo "$USAGE" 1>&2 exit 3 fi