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

[PATCH 1/2] run-help: chain run-help-sudo to call run-help on the next argument



---
 Functions/Misc/run-help-sudo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Functions/Misc/run-help-sudo b/Functions/Misc/run-help-sudo
index f38696e19..a8fa7aa0f 100644
--- a/Functions/Misc/run-help-sudo
+++ b/Functions/Misc/run-help-sudo
@@ -2,6 +2,6 @@
 if [ $# -eq 0 ]; then
     man sudo
 else
-    man $1
+    run-help $1
 fi
 
-- 
2.19.1



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