Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
contrib: give example values in VERSION error message
Browse files Browse the repository at this point in the history
Print the list of valid versions when the user did not set one.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
  • Loading branch information
ktdreyer authored and guits committed Apr 17, 2023
1 parent 5ba634d commit f538983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ case "${VERSION}" in
CEPH_RELEASE=quincy
;;
*)
echo "ERROR: VERSION must be set to a valid version."
echo "ERROR: VERSION must be set to 4, 5, or 6."
exit 1
esac

0 comments on commit f538983

Please sign in to comment.