From de057fdc40ef15ef84a690ea36c970a4ade35474 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Thu, 15 Nov 2001 23:36:05 +0000 Subject: [PATCH] Handle command "list" specially: list scripts dir. (help): Make more informative. --- guile-tools.in | 51 +++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/guile-tools.in b/guile-tools.in index 21bcafa7d..aaa5309cc 100644 --- a/guile-tools.in +++ b/guile-tools.in @@ -17,17 +17,7 @@ # the Free Software Foundation, Inc., 59 Temple Place, Suite 330, # Boston, MA 02111-1307 USA -# Usage: guile-tools --version -# guile-tools --help -# guile-tools [OPTION] PROGRAM [ARGS] -# -# PROGRAM is run w/ ARGS. To see a list of available programs, use -# "guile-tools --help" to find the default scripts directory and then -# do a "ls" on that directory. Or just read the source 14 lines below. -# -# Options (only one of which may be used at a time): -# --scriptsdir DIR -- Look in DIR for scripts -# --guileversion VERS -- Look in $pkgdatadir/VERS/scripts for scripts +# Usage: See `help' func below. # # TODO # - handle pre-install invocation @@ -35,6 +25,22 @@ # # Author: Thien-Thi Nguyen +help () +{ + cat <