1
0
mirror of https://github.com/ranl/monitor-utils.git synced 2024-11-22 15:33:43 +01:00

Move error to first line in help output

This commit is contained in:
Michal Svamberg 2015-05-31 03:32:04 +02:00
parent fc14520f7d
commit 62e9ec4bb7

View File

@ -277,10 +277,10 @@ sub _create_session(@) {
sub FSyntaxError($) { sub FSyntaxError($) {
my $err = shift; my $err = shift;
print <<EOU; print <<EOU;
This is $script_name in version $script_version.
$err $err
This is $script_name in version $script_version.
Syntax: Syntax:
-H <IP or Hostname> Ip/Dns Name of the Filer -H <IP or Hostname> Ip/Dns Name of the Filer
-C <community name> SNMP Community Name for read -C <community name> SNMP Community Name for read