From 76351e9b69812c6757c9b5e1e36f99dba417b98d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 18 Oct 2010 09:33:42 +0000 Subject: Jérôme Pouiller: 28351: new help functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog | 7 ++++++- Functions/Misc/.distfiles | 2 ++ Functions/Misc/run-help-openssl | 7 +++++++ Functions/Misc/run-help-sudo | 7 +++++++ 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 Functions/Misc/run-help-openssl create mode 100644 Functions/Misc/run-help-sudo diff --git a/ChangeLog b/ChangeLog index 034332964..ef04a1ad1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-10-18 Peter Stephenson + + * Jérôme Pouiller: 28351: Functions/Misc/run-help-openssl, + Functions/Misc/run-help-sudo: new help functions. + 2010-10-17 Peter Stephenson * 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 + -- cgit 1.4.1