From e5090ee1fc507ac3ad5943b7d323b198bd4710d0 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Thu, 20 Dec 2007 20:40:06 +0000 Subject: use --help instead of --manual since manual is not compiled everywere --- lib/Smokeping/probes/Curl.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Smokeping') 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; -- cgit v1.2.3-24-g4f1b