1
0
mirror of https://github.com/ranl/monitor-utils.git synced 2024-11-22 07:23:42 +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($) {
my $err = shift;
print <<EOU;
This is $script_name in version $script_version.
$err
This is $script_name in version $script_version.
Syntax:
-H <IP or Hostname> Ip/Dns Name of the Filer
-C <community name> SNMP Community Name for read