Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill dependency on pod2usage since we can really do without it
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 28 Apr 2011 13:38:11 +0000 (15:38 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 28 Apr 2011 13:38:11 +0000 (15:38 +0200)
buildtools/Cmake/tesh.pl

index 0e63b59..bdbced2 100755 (executable)
@@ -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}:.";