summary refs log tree commit diff
path: root/Functions/Misc
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
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')
-rw-r--r--Functions/Misc/.distfiles2
-rw-r--r--Functions/Misc/run-help-openssl7
-rw-r--r--Functions/Misc/run-help-sudo7
3 files changed, 16 insertions, 0 deletions
diff --git a/Functions/Misc/.distfiles b/Functions/Misc/.distfiles
index d340d93d7..5efb17876 100644
--- a/Functions/Misc/.distfiles
+++ b/Functions/Misc/.distfiles
@@ -14,7 +14,9 @@ regexp-replace
 relative
 run-help
 run-help-git
+run-help-openssl
 run-help-p4
+run-help-sudo
 run-help-svk
 run-help-svn
 sticky-note
diff --git a/Functions/Misc/run-help-openssl b/Functions/Misc/run-help-openssl
new file mode 100644
index 000000000..c528418c8
--- /dev/null
+++ b/Functions/Misc/run-help-openssl
@@ -0,0 +1,7 @@
+
+if [ $# -eq 0 ]; then
+    man openssl
+else
+    man $1
+fi
+
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
+