Use 'here documents' in the usage() function.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-02-17 07:44:10 -08:00
parent bb5b6e42d6
commit 6d92d293b8

View File

@ -49,7 +49,9 @@ use Getopt::Long;
sub usage( $ ) {
print STDERR 'usage: compiler.pl [ <option> ... ] [ <filename> ]
print STDERR << '_EOF_';
usage: compiler.pl [ <option> ... ] [ <filename> ]
options are:
[ --export ]
@ -71,7 +73,8 @@ sub usage( $ ) {
[ --shorewallrc=<pathname> ]
[ --shorewallrc1=<pathname> ]
[ --config_path=<path-list> ]
';
_EOF_
exit shift @_;
}