summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <demaille@gostai.com>2009-03-31 10:41:25 +0200
committerAkim Demaille <demaille@gostai.com>2009-03-31 10:44:33 +0200
commitc1455babda1c43195e185a8590678836ad08ac8f (patch)
tree1b393ab79fa8341744d052cc0ed4d23db4e08a89
parent2075a82a18ad334ec61ba777d0d61de08e2b64cb (diff)
downloadbison-c1455babda1c43195e185a8590678836ad08ac8f.tar.gz
bootstrap: --help to stdout.
* bootstrap (usage): Don't send --help to stderr. Use a here doc instead of a long string.
-rw-r--r--ChangeLog6
-rwxr-xr-xbootstrap4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ff9105d5..0eae269f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-03-31 Akim Demaille <demaille@gostai.com>
+ bootstrap: --help to stdout.
+ * bootstrap (usage): Don't send --help to stderr.
+ Use a here doc instead of a long string.
+
+2009-03-31 Akim Demaille <demaille@gostai.com>
+
bootstrap: README-hacking no longer exists
* bootstrap (checkout_only_file): Set to HACKING.
diff --git a/bootstrap b/bootstrap
index 72090116..4b0abfa6 100755
--- a/bootstrap
+++ b/bootstrap
@@ -36,7 +36,7 @@ bt_regex=`echo "$bt"| sed 's/\./[.]/g'`
bt2=${bt}2
usage() {
- echo >&2 "\
+ cat <<EOF
Usage: $0 [OPTION]...
Bootstrap this package from the checked-out sources.
@@ -57,7 +57,7 @@ If the file bootstrap.conf exists in the current working directory, its
contents are read as shell variables to configure the bootstrap.
Running without arguments will suffice in most cases.
-"
+EOF
}
# Configuration.