mirror of
https://github.com/ranl/monitor-utils.git
synced 2026-02-06 07:05:17 +01:00
Move error to first line in help output
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user