1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

51812: run-help for docker, perf, podman, ssh, svnadmin

This commit is contained in:
Jörg Sommer 2023-05-31 19:45:59 +02:00 committed by Oliver Kiddle
parent 1ffc6d0ef5
commit 60479a7a18
6 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,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

View file

@ -0,0 +1 @@
man perf${1:+-$1}

View file

@ -0,0 +1,9 @@
if [[ $# == 0 ]]
then
man podman
elif [[ $# > 1 && $1 == (container|generate|healthcheck|image|kube|machine|manifest|network|pod|secret|system|volume) ]]
then
man podman-$1-$2
else
man podman-$1
fi

View file

@ -0,0 +1,6 @@
if [[ $# < 2 ]]
then
man ssh
else
run-help $2
fi

View file

@ -0,0 +1 @@
svnadmin help $1 | ${=PAGER:-more}