IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28052


Ignore:
Timestamp:
May 20, 2010, 3:52:51 PM (16 years ago)
Author:
bills
Message:

remove redundant error check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_request_file

    r27751 r28052  
    2929
    3030printhelp($0) if $help;
     31
    3132pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
    32 pod2usage( -msg => "Required options: --input",
    33            -exitval => 3) unless defined $input;
     33
     34unless (defined $input) {
     35    print STDERR "Required options: --input\n";
     36    printhelp($0);
     37}
    3438
    3539# The header kewords
Note: See TracChangeset for help on using the changeset viewer.