(parse_arguments): Use fatal.
+2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * automake.in (usage, version): Honor $exit_code.
+ (parse_arguments): Use fatal.
+
2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Invoking Automake): Document WARNINGS.
{
if ($arg =~ /^-./)
{
- print STDERR "$0: unrecognized option `$arg'\n";
- print STDERR "Try `$0 --help' for more information.\n";
- exit (1);
+ fatal ("unrecognized option `$arg'\n"
+ . "Try `$0 --help' for more information.");
}
# Handle $local:$input syntax. Note that we only examine the
print "\nReport bugs to <bug-automake\@gnu.org>.\n";
- exit 0;
+ exit $exit_code;
}
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
EOF
- exit 0;
+ exit $exit_code;
}
### Setup "GNU" style for perl-mode and cperl-mode.