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 while getopts "hF:C:W:" opt; do
case "$opt" in case "$opt" in
h) 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 exit 3
;; ;;
W) W)

View file

@ -14,7 +14,7 @@ critical=3600
while :; do while :; do
case "$1" in 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; shift;
exit 2; exit 2;
;; ;;