mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-11 00:51:05 +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
2 changed files with 4 additions and 7 deletions
|
@ -1,5 +1,8 @@
|
||||||
2023-09-20 Oliver Kiddle <opk@zsh.org>
|
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:
|
* Wim de With: 51857: Completion/Linux/Command/_fusermount:
|
||||||
Include fusermount3 in fusermount completions
|
Include fusermount3 in fusermount completions
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1 @@
|
||||||
|
man openssl${1:+-$1} || man ${1:-openssl}
|
||||||
if [ $# -eq 0 ]; then
|
|
||||||
man openssl
|
|
||||||
else
|
|
||||||
man $1
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue