about summary refs log tree commit diff
path: root/Functions/Misc/run-help-docker
blob: 09a8a221a65b659a3f09f6f9f9e2ed8e88f5bfef (plain) (blame)
1
2
3
4
5
6
7
8
9
if [[ $# == 0 ]]
then
    man docker
elif [[ $# > 1 && $1 == (builder|checkpoint|config|container|context|image|manifest|network|node|plugin|secret|service|stack|swarm|system|trust|volume) ]]
then
    man docker-$1-$2
else
    man docker-$1
fi