From 16d23292dce1465b22f8a1fed5b6e06f30544bed Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 7 Nov 2018 10:35:08 -0800 Subject: [PATCH] Improve error messages --- net/init-metrics.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/init-metrics.sh b/net/init-metrics.sh index 621659363e..90865ded4a 100755 --- a/net/init-metrics.sh +++ b/net/init-metrics.sh @@ -41,7 +41,7 @@ while getopts "hde" opt; do useEnv=true ;; *) - usage "Error: unhandled option: $opt" + usage "unhandled option: $opt" ;; esac done @@ -49,7 +49,7 @@ shift $((OPTIND - 1)) if $useEnv; then [[ -n $SOLANA_METRICS_CONFIG ]] || - usage "Error: SOLANA_METRICS_CONFIG is not defined in the environment" + usage "SOLANA_METRICS_CONFIG is not defined in the environment" else username=$1 [[ -n "$username" ]] || usage "username not specified"