about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Functions/Misc/.distfiles2
-rw-r--r--Functions/Misc/run-help-openssl7
-rw-r--r--Functions/Misc/run-help-sudo7
4 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 034332964..ef04a1ad1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-18  Peter Stephenson  <pws@csr.com>
+
+	* Jérôme Pouiller: 28351: Functions/Misc/run-help-openssl,
+	Functions/Misc/run-help-sudo: new help functions.
+
 2010-10-17  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Mikael: 28356: Src/Zle/zle_refresh.c: don't increment old
@@ -13763,5 +13768,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5108 $
+* $Revision: 1.5109 $
 *****************************************************
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
+