From bc160bc585e54736bb1d2e4a75225b8076218a81 Mon Sep 17 00:00:00 2001 From: m0viefreak Date: Mon, 17 Feb 2014 05:07:58 +0100 Subject: remove old example from helpfiles: code is integrated with distribution --- Util/helpfiles | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) (limited to 'Util') diff --git a/Util/helpfiles b/Util/helpfiles index 9e611d7cc..9909a1d26 100755 --- a/Util/helpfiles +++ b/Util/helpfiles @@ -16,24 +16,10 @@ # If a third arg is given, the symlink is not created, but a # list of symlinks is put into the file specified by that arg. -# Example usage: -# cd ~/zsh-4.0.1 # or wherever -# mkdir Help -# cd Help -# man zshbuiltins | colcrt - | helpfiles -# run-help() { -# typeset zhelp=~/zsh-4.0.1/Help # or wherever -# [[ $1 = . ]] && 1=dot -# [[ $1 = : ]] && 1=colon -# if [[ $1 = compctl ]]; then -# man zshcompctl -# elif [[ -f $zhelp/$1 ]]; then -# ${=PAGER:-more} $zhelp/$1 -# else -# man $1 -# fi -# } -# now -h works for shell builtins. +# This script is called automatically during `make install' +# unless specified otherwise. + +# For usage and and more information see zshcontrib(1). sub Usage { print(STDERR "Usage: helpfiles zshbuiltins.1 dest-dir [link-file]\n"); -- cgit 1.4.1