Ignore:
Timestamp:
12/02/11 11:42:17 (13 years ago)
Author:
nanardon
Message:
  • reimport missing files from previous svn
File:
1 edited

Legend:

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

    r594 r861  
    2828=head1 OPTIONS 
    2929 
    30 =item -c|--config configfile 
     30=over 4 
    3131 
    32 Use this configuration file instead of thr default one. 
     32=item -c|--config configdir 
     33 
     34Use this configuration directory instead of thr default one. 
    3335 
    3436=item -b|--base basename 
    3537 
    3638Perform query on this base(s) (can be set multiple times). 
     39 
     40=back 
    3741 
    3842=cut 
     
    5559        }; 
    5660        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') : '  ' 
    6064            ); 
    6165        } 
Note: See TracChangeset for help on using the changeset viewer.