Deploy: Improve missing argument error message

This commit is contained in:
Mike Salvatore 2022-04-10 14:32:38 -04:00
parent 176e91f533
commit f42a3bdaad
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ user_exists() {
assert_parameter_supplied() {
if [ -z "$2" ] ; then
echo "Error: missing flag '$1'"
echo "Error: missing required parameter '$1'"
echo_help
exit 1
fi
@ -91,7 +91,7 @@ has_sudo() {
exit_if_missing_argument() {
if [ -z "$2" ] || [ "${2:0:1}" == "-" ]; then
echo "Error: Argument for $1 is missing" >&2
echo "Error: Argument for parameter '$1' is missing" >&2
exit 1
fi
}