From: Zack Weinberg Date: Tue, 22 Sep 2020 15:37:20 +0000 (-0400) Subject: bin/autoconf.as: Fix --help. X-Git-Tag: v2.69c~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1dd88da012e415f6a4e0c6eb7af54689ae85464;p=thirdparty%2Fautoconf.git 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. --- diff --git a/bin/autoconf.as b/bin/autoconf.as index ddf8cced0..1cfb54624 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=: