Changeset 849 for LATMOS-Accounts/bin/la-search
- Timestamp:
- 03/29/10 19:09:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts/bin/la-search
r729 r849 27 27 Perform search in this specific base instead default 28 28 29 =item -- noexp29 =item --with-unexp 30 30 31 Take into account all objects (even non propagated ones, with attribute 'exported'=0) 31 Take into account all objects (even non propagated ones, with attribute 32 'exported'=0) (default) 32 33 33 =item -- exp34 =item --wo-unexp 34 35 35 Take into account only propagated objects (attribute 'exported'=1) (default)36 Take into account only propagated objects (attribute 'exported'=1) 36 37 37 38 =item --fmt format … … 77 78 78 79 GetOptions( 79 'c|config=s' => \my $config,80 'b|base=s' => \my $base,81 'o|object=s' => \my $otype,82 'fmt=s' => \my $fmt,83 'no exp' => \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) }, 86 87 ) or pod2usage(); 87 88 … … 94 95 $labase && $labase->load or die "Cannot load base"; 95 96 96 $labase-> wexported($noexp ? 0 : 1);97 $labase->unexported($nounexp ? 0 : 1); 97 98 98 99 my @result = $labase->search_objects($otype, @ARGV);
Note: See TracChangeset
for help on using the changeset viewer.