Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH 3/4] run-help-openssl: Reduce the code



---
 Functions/Misc/run-help-openssl | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/Functions/Misc/run-help-openssl b/Functions/Misc/run-help-openssl
index c528418c8..88293b252 100644
--- a/Functions/Misc/run-help-openssl
+++ b/Functions/Misc/run-help-openssl
@@ -1,7 +1 @@
-
-if [ $# -eq 0 ]; then
-    man openssl
-else
-    man $1
-fi
-
+man ${1:-openssl}
-- 
2.40.1





Messages sorted by: Reverse Date, Date, Thread, Author