From 0c7e39bb3b1daae8cca106ebda37c9e81aa5fbac Mon Sep 17 00:00:00 2001 From: Christopher Kreft Date: Sat, 28 Nov 2015 17:34:16 +0100 Subject: [PATCH] fixes #17 --- check_json.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_json.pl b/check_json.pl index fd05a51..a113755 100755 --- a/check_json.pl +++ b/check_json.pl @@ -9,7 +9,7 @@ use Nagios::Plugin; use Data::Dumper; my $np = Nagios::Plugin->new( - usage => "Usage: %s -u|--url -a|--attributes " + usage => "Usage: %s -u|--url -a|--attributes " . "[ -c|--critical ] [ -w|--warning ] " . "[ -p|--perfvars ] " . "[ -o|--outputvars ] " @@ -34,7 +34,7 @@ my $np = Nagios::Plugin->new( # add valid command line options and build them into your usage/help documentation. $np->add_arg( spec => 'url|u=s', - help => '-u, --url http://192.168.5.10:9332/local_stats', + help => '-u, --url http://user:pass@192.168.5.10:9332/local_stats', required => 1, );