I was experimenting with the .sh binaries:

*********
$ sh lilypond-2.13.11-1.linux-64.sh

lilypond installer for version 2.13.11 release 1.
Use --help for help


You are about to install LilyPond in /home/owner/lilypond
A script in /home/owner/bin will be created as a shortcut.

Press ^C to abort, or Enter to proceed.
*********

This might surprise you, but at first I wasn't sure where or
when to type "--help".  A confused user, wanting to change
the install directory, might do "--help<Enter>" at the
prompt, which is bad, because then the installation
proceeds.  Instead of "Use --help for help", I'd put this:

*********
For a list of options, abort (^C) then do:
sh lilypond-2.13.11-1.linux-64.sh --help
*********

I've attached a patch for gub that incorporates this; let me
know if you don't like it...  One question, though: I
changed the text in lilypond-sharhead.sh, but do I also need
to change it in sharhead.sh?

Thanks.
- Mark


      
From 62c1ba0203014d97bdc9f23573cb69b66c8a2328 Mon Sep 17 00:00:00 2001
From: Mark Polesky <[email protected]>
Date: Mon, 18 Jan 2010 15:22:22 -0800
Subject: [PATCH] lilypond-sharhead: Clarify --help message.

---
 sourcefiles/lilypond-sharhead.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sourcefiles/lilypond-sharhead.sh b/sourcefiles/lilypond-sharhead.sh
index 0fb8518..84dc318 100644
--- a/sourcefiles/lilypond-sharhead.sh
+++ b/sourcefiles/lilypond-sharhead.sh
@@ -61,7 +61,8 @@ done
 cat <<EOF
 
 %(name)s installer for version %(version)s release %(release)s.
-Use --help for help
+For a list of options, abort (^C) then do:
+sh $me --help
 
 EOF
 
-- 
1.6.3.3

_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to