From f1dd88da012e415f6a4e0c6eb7af54689ae85464 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Tue, 22 Sep 2020 11:37:20 -0400 Subject: [PATCH] bin/autoconf.as: Fix --help. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- bin/autoconf.as | 4 ++-- 1 file 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=: -- 2.47.2