Ignore:
Timestamp:
08/26/15 16:48:16 (9 years ago)
Author:
nanardon
Message:

Fix: add an error message if otype is completly unsupported

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/bin/la-attributes

    r861 r1399  
    1313=head1 SYNOPSIS 
    1414 
    15 List supported bases, synchronisations, objects and attributes 
     15List supported objects and attributes 
    1616 
    1717    la-attributes [option] 
     
    6666    } 
    6767 
     68    if (! keys %supported) { 
     69        die "No base support this object type $otype\n"; 
     70    } 
     71 
    6872    my ($objlen) = sort { $b <=> $a } map { length($_) } keys %supported; 
    6973    $objlen+=1; 
Note: See TracChangeset for help on using the changeset viewer.