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:
parent
12b61965b5
commit
f093b41f09
@ -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
|
||||
|
||||
|
@ -1,7 +1 @@
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
man openssl
|
||||
else
|
||||
man $1
|
||||
fi
|
||||
|
||||
man openssl${1:+-$1} || man ${1:-openssl}
|
||||
|
Loading…
Reference in New Issue
Block a user