This commit is contained in:
n 2021-02-25 23:27:24 +01:00
parent ba55b6f6c7
commit 64f52f3e81
Signed by: n
GPG Key ID: E96086FC951DAE30
2 changed files with 2 additions and 2 deletions

View File

@ -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 <filename>]"
echo "Usage: $0 [-h] [-w <warning> (default: $warning)] [-c <critical> (default: $critical) -F <filename>]"
exit 3
;;
W)

View File

@ -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 <warning> (default: $warning)] [-c <critical> (default: $critical)]"
shift;
exit 2;
;;