From 8003745e664b99b82b9e93e470728c193df8cd34 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 28 Apr 2011 15:38:11 +0200 Subject: [PATCH] Kill dependency on pod2usage since we can really do without it --- buildtools/Cmake/tesh.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildtools/Cmake/tesh.pl b/buildtools/Cmake/tesh.pl index 0e63b590c6..bdbced2f77 100755 --- a/buildtools/Cmake/tesh.pl +++ b/buildtools/Cmake/tesh.pl @@ -18,7 +18,6 @@ my $path = $0; $path =~ s|[^/]*$||; push @INC,$path; -use Pod::Usage qw(pod2usage); use Getopt::Long qw(GetOptions); use strict; use Term::ANSIColor; @@ -26,7 +25,7 @@ use IPC::Open3; # make sure we received a tesh file -scalar @ARGV > 0 || pod2usage(-exitval => 1); +scalar @ARGV > 0 || die "Usage:\n tesh [*options*] *tesh_file*\n"; #Add current directory to path $ENV{PATH} = "$ENV{PATH}:."; -- 2.20.1