[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] bootstrap: --help to stdout.
From: |
Akim Demaille |
Subject: |
[PATCH] bootstrap: --help to stdout. |
Date: |
Tue, 31 Mar 2009 10:41:25 +0200 |
* bootstrap (usage): Don't send --help to stderr.
Use a here doc instead of a long string.
---
ChangeLog | 6 ++++++
bootstrap | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ff9105d..0eae269 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-03-31 Akim Demaille <address@hidden>
+ 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 <address@hidden>
+
bootstrap: README-hacking no longer exists
* bootstrap (checkout_only_file): Set to HACKING.
diff --git a/bootstrap b/bootstrap
index 7209011..4b0abfa 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.
--
1.6.2.rc0.35.g1b53
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] bootstrap: --help to stdout.,
Akim Demaille <=