1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-05-21 12:01:54 +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

@ -1,3 +1,10 @@
2023-10-10 Oliver Kiddle <opk@zsh.org>
* Jörg Sommer: 51812: Functions/Misc/run-help-docker,
Functions/Misc/run-help-perf, Functions/Misc/run-help-podman,
Functions/Misc/run-help-ssh, Functions/Misc/run-help-svnadmin:
run-help for docker, perf, podman, ssh, svnadmin
2023-10-05 Bart Schaefer <schaefer@zsh.org>
* 52204: Src/parse.c: fix unmeta() thinko from 52193

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}