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-qacls

    r669 r849  
    2323 
    2424GetOptions( 
    25     'c|config=s' => \my $config, 
    26     'b|base=s'     => \my $base, 
    27     'o|object=s' => \my $otype, 
    28     'u|user=s'   => \my $user, 
    29     'noexp'      => \my $noexp, 
    30     'exp'        => \my $exp, 
    31     'help'       => sub { pod2usage(0) }, 
     25    'c|config=s'        => \my $config, 
     26    'b|base=s'          => \my $base, 
     27    'o|object=s'        => \my $otype, 
     28    'u|user=s'          => \my $user, 
     29    'no-unexp|wo-unexp' => \my $nounexp, 
     30    'exp'               => \my $unexp, 
     31    'help'              => sub { pod2usage(0) }, 
    3232) or pod2usage(); 
    3333 
     
    4444Query this specific base instead of the default one. 
    4545 
    46 =item --noexp 
     46=item --with-unexp 
    4747 
    4848Take into account all objects (even non propagated ones, with attribute 'exported'=0) 
    4949 
    50 =item --exp 
     50=item --wo-unexp 
    5151 
    5252Take into account only propagated objects (attribute 'exported'=1) (default) 
     
    6666my $labase = $base ? $LA->base($base) : $LA->default_base; 
    6767 
    68 $labase->wexported($noexp ? 0 : 1); 
     68$labase->unexported($unexp ? 1 : 0); 
    6969 
    7070if ($user) { 
Note: See TracChangeset for help on using the changeset viewer.