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

    r729 r849  
    2727Perform search in this specific base instead default 
    2828 
    29 =item --noexp 
     29=item --with-unexp 
    3030 
    31 Take into account all objects (even non propagated ones, with attribute 'exported'=0) 
     31Take into account all objects (even non propagated ones, with attribute 
     32'exported'=0) (default) 
    3233 
    33 =item --exp 
     34=item --wo-unexp 
    3435 
    35 Take into account only propagated objects (attribute 'exported'=1) (default) 
     36Take into account only propagated objects (attribute 'exported'=1) 
    3637 
    3738=item --fmt format 
     
    7778 
    7879GetOptions( 
    79     'c|config=s' => \my $config, 
    80     'b|base=s'   => \my $base, 
    81     'o|object=s' => \my $otype, 
    82     'fmt=s'      => \my $fmt, 
    83     'noexp'      => \my $noexp, 
    84     'exp'        => \my $exp, 
    85     'help'       => sub { pod2usage(0) }, 
     80    'c|config=s'        => \my $config, 
     81    'b|base=s'          => \my $base, 
     82    'o|object=s'        => \my $otype, 
     83    'fmt=s'             => \my $fmt, 
     84    'no-unexp|wo-unexp' => \my $nounexp, 
     85    'with-unexp'        => \my $unexp, 
     86    'help'              => sub { pod2usage(0) }, 
    8687) or pod2usage(); 
    8788 
     
    9495$labase && $labase->load or die "Cannot load base"; 
    9596 
    96 $labase->wexported($noexp ? 0 : 1); 
     97$labase->unexported($nounexp ? 0 : 1); 
    9798 
    9899my @result = $labase->search_objects($otype, @ARGV); 
Note: See TracChangeset for help on using the changeset viewer.