From f42a3bdaad121d9c00beeca672165f4e6569d764 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Sun, 10 Apr 2022 14:32:38 -0400 Subject: [PATCH] Deploy: Improve missing argument error message --- deployment_scripts/install-infection-monkey-service.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment_scripts/install-infection-monkey-service.sh b/deployment_scripts/install-infection-monkey-service.sh index fe2789426..2bc8ec1f1 100755 --- a/deployment_scripts/install-infection-monkey-service.sh +++ b/deployment_scripts/install-infection-monkey-service.sh @@ -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 }