IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 9, 2016, 11:38:38 AM (10 years ago)
Author:
watersc1
Message:

Typo fix, switch to proximity find.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20160809/Nebulous-Server/bin/neb-cabadd

    r39662 r39672  
    1919use Pod::Usage qw( pod2usage );
    2020
    21 my ($db, $dbhost, $dbuser, $dbpass, $cname, $location, $site_id, $update);
     21my ($db, $dbhost, $dbuser, $dbpass, $cname, $location, $site_id, $update, $cab_id);
    2222
    2323$db     = $ENV{'NEB_DB'} unless $db;
     
    3434    'location|l=s'      => \$location,
    3535    'site_id|s=s'       => \$site_id,
     36    'cab_id=s'          => \$cab_id,
    3637    'update|u'          => \$update,
    3738) || pod2usage( 2 );
     
    5556
    5657if (defined($update)) {
    57     unless ($cname && $location && $site_id) {
    58         pod2usage( -msg => "Required options for update: --db --user --pass --cname --site_id --location", -exitval => 2 );
     58    unless ($cname && $location && $site_id && $cab_id) {
     59        pod2usage( -msg => "Required options for update: --db --user --pass --cname --site_id --location --cab_id", -exitval => 2 );
    5960    }
    6061    print "Updating cabinet...";
Note: See TracChangeset for help on using the changeset viewer.