- added new docker command for all containers

- corrected param parsing
This commit is contained in:
2023-05-01 17:28:10 +02:00
parent b5f66ebcb8
commit b114c139b1
2 changed files with 9 additions and 2 deletions

View File

@@ -6,8 +6,8 @@ upDownContainers() {
docker_root=~/docker;
while [[ $# > 0 ]]; do
case $1 in
-d | --dir) docker_root=$2; shift 2;;
* ) break ;; # Anything else stops command line processing.
--dir) docker_root=$2; shift 2;;
* ) break ;; # Anything else stops command line processing.
esac
done