From: Martin Quinson Date: Thu, 28 Apr 2011 13:38:11 +0000 (+0200) Subject: Kill dependency on pod2usage since we can really do without it X-Git-Tag: v3_6_rc3~76 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8003745e664b99b82b9e93e470728c193df8cd34?ds=sidebyside Kill dependency on pod2usage since we can really do without it --- 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}:.";