summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2020-09-22 11:37:20 -0400
committerZack Weinberg <zackw@panix.com>2020-09-22 15:35:41 -0400
commitf1dd88da012e415f6a4e0c6eb7af54689ae85464 (patch)
treedf14328242454eede6425483e284c3a45df54a31
parent904d8e72e5a511dde72173a1d7f0e4c1e5bf4b79 (diff)
downloadautoconf-f1dd88da012e415f6a4e0c6eb7af54689ae85464.tar.gz
bin/autoconf.as: Fix --help.
Commit 9b5c0f17741836e99d0a801c6309389d391c03f9 introduced a bug where autoconf --help would only print “Try 'autoconf --help' for more information.” Correct this. * bin/autoconf.as: Print $help, not $usage_err, for --help. Consistently use AS_ECHO, not bare echo.
-rw-r--r--bin/autoconf.as4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/autoconf.as b/bin/autoconf.as
index ddf8cced..1cfb5462 100644
--- a/bin/autoconf.as
+++ b/bin/autoconf.as
@@ -98,9 +98,9 @@ while test $# -gt 0 ; do
"x$1" : 'x-.\(.*\)'`]
case $1 in
--version | -V )
- echo "$version" ; exit ;;
+ AS_ECHO(["$version"]); exit ;;
--help | -h )
- AS_ECHO(["$usage_err"]); exit ;;
+ AS_ECHO(["$help"]); exit ;;
--verbose | -v )
verbose=: