Skip to content
Snippets Groups Projects
Commit eb4e5274 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

fix help

parent 9dec5a19
No related branches found
No related tags found
1 merge request!238fix help
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
# Cli docs: # Cli docs:
# https://docs.docker.com/engine/reference/commandline/docker/ # 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 ...@@ -97,7 +98,7 @@ while [[ "$#" -gt 0 ]]; do case $1 in
-p|--path) PATH="$2:$PATH"; shift; shift;; -p|--path) PATH="$2:$PATH"; shift; shift;;
-m|--mode) sMode="$2"; shift; shift;; -m|--mode) sMode="$2"; shift; shift;;
-t|--target) export DOCKER_HOST="$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 esac; done
sLabel="Docker stats" sLabel="Docker stats"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment