aclocal: error out again on unrecognized arguments
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 1 May 2012 22:13:10 +0000 (00:13 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 2 May 2012 09:16:57 +0000 (11:16 +0200)
commit180158114544e2bf0c11c36f373c28331d0a9ee3
treeef759f366ea400e49bb40ac8aee507baa6aef007
parente7745eaaac1a5d432f3b39731fb4cd89675432fb
aclocal: error out again on unrecognized arguments

Starting from commit v1.11-662-g52246cc of 2102-02-18, "cmdline parsing:
move into a dedicated perl module", aclocal has been silently ignoring
non-option arguments instead of correctly reporting them.
Fix this regression.

* t/aclocal.sh: Update to catch the regression.
* aclocal.in (parse_arguments): Explicitly reject non-option arguments.
* NEWS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NEWS
aclocal.in
t/aclocal.sh