From eb4e52744db8afc4180312030b7e544ccb31c3c1 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Mon, 29 Jan 2024 07:28:02 +0100
Subject: [PATCH] fix help

---
 check_docker_stats | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/check_docker_stats b/check_docker_stats
index 34bc33d..27ddd63 100755
--- a/check_docker_stats
+++ b/check_docker_stats
@@ -13,7 +13,8 @@
 # Cli docs:
 # https://docs.docker.com/engine/reference/commandline/docker/
 # ----------------------------------------------------------------------
-# 2024-01-26  v0.1  <axel.hahn@unibe.ch>      init
+# 2024-01-26  v1.0  <axel.hahn@unibe.ch>      init
+# 2024-01-29  v1.1  <axel.hahn@unibe.ch>      fix help
 # ======================================================================
 
 
@@ -97,7 +98,7 @@ while [[ "$#" -gt 0 ]]; do case $1 in
     -p|--path)        PATH="$2:$PATH"; shift; shift;;
     -m|--mode)        sMode="$2"; shift; shift;;
     -t|--target)      export DOCKER_HOST="$2"; shift; shift;;
-    *) echo "ERROR: Unknown parameter: $1"; showHelp; exit 1;
+    *) echo "ERROR: Unknown parameter: $1"; _showHelp; exit 1;
 esac; done
 
 sLabel="Docker stats"
-- 
GitLab