diff --git a/monitoring/check_lastdate.sh b/monitoring/check_lastdate.sh index 9179efb..f8d1b25 100755 --- a/monitoring/check_lastdate.sh +++ b/monitoring/check_lastdate.sh @@ -13,7 +13,7 @@ OPTIND=1 while getopts "hF:C:W:" opt; do case "$opt" in h) - echo "Usage: $0 [-h] [-w warning (default: $warning)] [-c critical (default: $critical) -F ]" + echo "Usage: $0 [-h] [-w (default: $warning)] [-c (default: $critical) -F ]" exit 3 ;; W) diff --git a/monitoring/check_postgresql_replication.sh b/monitoring/check_postgresql_replication.sh index 824838a..d75302e 100755 --- a/monitoring/check_postgresql_replication.sh +++ b/monitoring/check_postgresql_replication.sh @@ -14,7 +14,7 @@ critical=3600 while :; do case "$1" in - -h) echo "Usage $0: [-h] [-w warning (default: $warning)] [-c critical (default: $critical)]" + -h) echo "Usage: $0 [-h] [-w (default: $warning)] [-c (default: $critical)]" shift; exit 2; ;;