about summary refs log tree commit diff
path: root/Functions/Misc/run-help-sudo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-10-18 09:33:42 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-10-18 09:33:42 +0000
commit76351e9b69812c6757c9b5e1e36f99dba417b98d (patch)
tree5586a5cb3c10bfc0511724143a31eeff0f2c0033 /Functions/Misc/run-help-sudo
parent467cd12e138e72e3fa2351b65e4138c29b235fcf (diff)
downloadzsh-76351e9b69812c6757c9b5e1e36f99dba417b98d.tar.gz
zsh-76351e9b69812c6757c9b5e1e36f99dba417b98d.tar.xz
zsh-76351e9b69812c6757c9b5e1e36f99dba417b98d.zip
Jérôme Pouiller: 28351: new help functions
Diffstat (limited to 'Functions/Misc/run-help-sudo')
-rw-r--r--Functions/Misc/run-help-sudo7
1 files changed, 7 insertions, 0 deletions
diff --git a/Functions/Misc/run-help-sudo b/Functions/Misc/run-help-sudo
new file mode 100644
index 000000000..f38696e19
--- /dev/null
+++ b/Functions/Misc/run-help-sudo
@@ -0,0 +1,7 @@
+
+if [ $# -eq 0 ]; then
+    man sudo
+else
+    man $1
+fi
+