1
0
mirror of https://github.com/c-kr/check_json.git synced 2024-11-23 10:53:47 +01:00

Escape @host in text string.

This commit is contained in:
Alan Hodgson 2015-12-16 10:12:56 -08:00
parent 2f510a9b3b
commit 1cf1f9c298

View File

@ -9,7 +9,7 @@ use Nagios::Plugin;
use Data::Dumper;
my $np = Nagios::Plugin->new(
usage => "Usage: %s -u|--url <http://user:pass@host:port/url> -a|--attributes <attributes> "
usage => "Usage: %s -u|--url <http://user:pass\@host:port/url> -a|--attributes <attributes> "
. "[ -c|--critical <thresholds> ] [ -w|--warning <thresholds> ] "
. "[ -p|--perfvars <fields> ] "
. "[ -o|--outputvars <fields> ] "