Ignore:
Timestamp:
03/29/10 19:09:13 (14 years ago)
Author:
nanardon
Message:
  • make unxported mode options more explicit
  • fix POD according behavior
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts/bin/la-guser

    r669 r849  
    2020 
    2121GetOptions( 
    22     'c|config=s' => \my $config, 
    23     'b|base=s'   => \my $base, 
    24     's'          => \my $set, 
    25     'r'          => \my $remove, 
    26     'noexp'      => \my $noexp, 
    27     'exp'        => \my $exp, 
    28     'help'       => sub { pod2usage(0) }, 
     22    'c|config=s'        => \my $config, 
     23    'b|base=s'          => \my $base, 
     24    's'                 => \my $set, 
     25    'r'                 => \my $remove, 
     26    'no-unexp|wo-unexp' => \my $nounexp, 
     27    'with-exp'          => \my $unexp, 
     28    'help'              => sub { pod2usage(0) }, 
    2929) or pod2usage(); 
    3030 
     
    4949Query this specific base instead of the default one. 
    5050 
    51 =item --noexp 
     51=item --with-unexp 
    5252 
    53 Take into account all objects (even non propagated ones, with attribute 'exported'=0) 
     53Take into account all objects (even non propagated ones, with attribute 
     54'exported'=0) (default) 
    5455 
    55 =item --exp 
     56=item --wo-unexp 
    5657 
    57 Take into account only propagated objects (attribute 'exported'=1) (default) 
     58Take into account only propagated objects (attribute 'exported'=1) 
    5859 
    5960=item -r 
     
    7576$labase && $labase->load or die "Cannot load base"; 
    7677 
    77 $labase->wexported($noexp ? 0 : 1); 
     78$labase->unexported($nounexp ? 0 : 1); 
    7879 
    7980$labase->is_supported_object($otype) or die "$otype object unsupported\n"; 
Note: See TracChangeset for help on using the changeset viewer.