about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamir Benmendil <me@rmz.io>2020-12-11 17:20:45 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2020-12-11 17:20:45 +0900
commitf493b438fd2fd695a3082f780f192e570c299247 (patch)
tree91025950c4b278b142a25a5da9b852ce4926e2f2
parent5a9e632638bcddcbb0524af7a2108805292bba0e (diff)
downloadzsh-f493b438fd2fd695a3082f780f192e570c299247.tar.gz
zsh-f493b438fd2fd695a3082f780f192e570c299247.tar.xz
zsh-f493b438fd2fd695a3082f780f192e570c299247.zip
43946: call run-help for the command given to sudo
-rw-r--r--ChangeLog5
-rw-r--r--Functions/Misc/run-help-sudo2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c478a9219..ea4b1cfab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-12-11  Jun-ichi Takimoto  <takimoto-j@kba.biglobe.ne.jp>
+
+	* Samir Benmendil: 43946: Functions/Misc/run-help-sudo: call
+	run-help (instead of man) for the command given to sudo
+
 2020-12-05  Bart Schaefer  <schaefer@zsh.org>
 
 	* unposted: Doc/Zsh/compsys.yo: index compprefuncs and comppostfuncs
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