bootstrap: --help to stdout.

* bootstrap (usage): Don't send --help to stderr.
	Use a here doc instead of a long string.
This commit is contained in:
Akim Demaille
2009-03-31 10:41:25 +02:00
parent 2075a82a18
commit c1455babda
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
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

View File

@@ -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.