1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-21 19:31:50 +02:00

51776: run-help-openssl: Reduce code and use new manpages

Openssl switches the naming of manpages to the common style
openssl-$SUBCOMMAND, e.g. openssl-enc. For backward compatibility try to
show the manpage with the old name if the new one doesn't exist.
This commit is contained in:
Jörg Sommer 2023-05-23 18:25:41 +02:00 committed by Oliver Kiddle
parent 12b61965b5
commit f093b41f09
2 changed files with 4 additions and 7 deletions

View File

@ -1,5 +1,8 @@
2023-09-20 Oliver Kiddle <opk@zsh.org>
* Jörg Sommer: 51776: Functions/Misc/run-help-openssl:
Reduce code and use new manpages
* Wim de With: 51857: Completion/Linux/Command/_fusermount:
Include fusermount3 in fusermount completions

View File

@ -1,7 +1 @@
if [ $# -eq 0 ]; then
man openssl
else
man $1
fi
man openssl${1:+-$1} || man ${1:-openssl}