summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/Curl.pm
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-12-20 21:40:06 +0100
committerTobi Oetiker <tobi@oetiker.ch>2007-12-20 21:40:06 +0100
commite5090ee1fc507ac3ad5943b7d323b198bd4710d0 (patch)
treee587d9a3a7f799bd4de14ad563a8ced7ddd31d2d /lib/Smokeping/probes/Curl.pm
parent7091adae1bc9aac0e8b363d320e3efdcfd84e71f (diff)
downloadsmokeping-e5090ee1fc507ac3ad5943b7d323b198bd4710d0.tar.gz
smokeping-e5090ee1fc507ac3ad5943b7d323b198bd4710d0.tar.xz
use --help instead of --manual since manual is not compiled everywere
Diffstat (limited to 'lib/Smokeping/probes/Curl.pm')
-rw-r--r--lib/Smokeping/probes/Curl.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/Curl.pm b/lib/Smokeping/probes/Curl.pm
index 166333f..346f141 100644
--- a/lib/Smokeping/probes/Curl.pm
+++ b/lib/Smokeping/probes/Curl.pm
@@ -202,7 +202,8 @@ sub test_usage {
my $arghashref = $self->features;
my %arghash = %$arghashref;
- my $curl_man = `$bin --manual`;
+ my $curl_man = `$bin --help`;
+
for my $feature (keys %arghash) {
next if $curl_man =~ /\Q$arghash{$feature}/;
push @unsupported, $feature;