about summary refs log tree commit diff
diff options
context:
space:
mode:
-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