mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 22:30:58 +01:00
Use 'here documents' in the usage() function.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
bb5b6e42d6
commit
6d92d293b8
@ -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 @_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user