Changeset 861 for LATMOS-Accounts/bin/la-attributes
- Timestamp:
- 12/02/11 11:42:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts/bin/la-attributes
r594 r861 28 28 =head1 OPTIONS 29 29 30 = item -c|--config configfile30 =over 4 31 31 32 Use this configuration file instead of thr default one. 32 =item -c|--config configdir 33 34 Use this configuration directory instead of thr default one. 33 35 34 36 =item -b|--base basename 35 37 36 38 Perform query on this base(s) (can be set multiple times). 39 40 =back 37 41 38 42 =cut … … 55 59 }; 56 60 foreach($labase->list_canonical_fields($otype, 'a')) { 57 $supported{$_}{$basename} = sprintf('%s%s',58 ($labase->get_field_name($otype, $_, 'r') ? 'r' : ' '),59 ($labase->get_field_name($otype, $_, 'w') ? 'w' : ' '),61 my $attr = $labase->attribute($otype, $_); 62 $supported{$_}{$basename} = sprintf('%s', 63 $attr ? ($attr->ro ? 'r ' : 'rw') : ' ' 60 64 ); 61 65 }
Note: See TracChangeset
for help on using the changeset viewer.