Ignore:
Timestamp:
05/29/12 10:25:51 (12 years ago)
Author:
nanardon
Message:
  • complete POD

This patch a basic documentation to all functions.
It also add two test to ensure all POD syntax are correct and coverage is full.

Location:
trunk/LATMOS-Accounts/bin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/bin/la-search

    r861 r1023  
    7575=back 
    7676 
     77=back 
     78 
    7779=cut 
    7880 
  • trunk/LATMOS-Accounts/bin/la-sql-edit-form

    r975 r1023  
    99=head1 NAME 
    1010 
    11     la-edit - Tools to edit forms (accreq) 
     11    la-sql-edit-form - Tools to edit forms (accreq) 
    1212 
    1313=head1 SYNOPSIS 
    1414 
    15     la-edit [options] obj_id 
     15    la-sql-edit-form formid 
    1616 
    1717=cut 
     
    113113=head2 SYNTAX 
    114114 
    115 The form must be describe in YAML format (L<TODO: Wikipedia link>). 
     115The form must be describe in YAML format (L<http://en.wikipedia.org/wiki/YAML>). 
    116116 
    117117=head2 OPTIONS 
  • trunk/LATMOS-Accounts/bin/la-sql-rev

    r1007 r1023  
    3535Query this specific base instead of the default one. 
    3636 
     37=back 
     38 
    3739=cut 
    3840 
  • trunk/LATMOS-Accounts/bin/la-sync-manager

    r983 r1023  
    1111use LATMOS::Accounts::Task; 
    1212 
     13=head1 NAME 
     14 
     15    la-sync-manager - Daemon performing synchronisation and various tasks 
     16 
     17=head1 SYNOPSIS 
     18 
     19    la-sync-manager [options...] 
     20 
     21=cut 
     22 
    1323GetOptions( 
    1424    'nodaemon' => \my $nodaemon, 
    1525    'c|config=s'   => \my $config, 
    1626    'help'         => sub { pod2usage(0) }, 
    17     'test'         => \my $test, 
    1827    'wait=i'       => \my $wait, 
    1928) or pod2usage(); 
     29 
     30=head1 OPTIONS 
     31 
     32=over 4 
     33 
     34=item --nodaemon 
     35 
     36Don't go into background 
     37 
     38=item -c|--config configdir 
     39 
     40Use this configuration instead default one 
     41 
     42=item --help 
     43 
     44Display this help 
     45 
     46=item --wait minutes 
     47 
     48Wait this number of minutes before process synchronisation (default is 5 
     49minutes) 
     50 
     51=back 
     52 
     53=cut 
    2054 
    2155my $needsync = 2; 
     
    118152} 
    119153 
     154__END__ 
     155 
     156=head1 SEE ALSO 
     157 
     158L<la-sync-manager.ini>, L<latmos-accounts.ini> 
     159 
     160=head1 AUTHOR 
     161 
     162Olivier Thauvin, E<lt>olivier.thauvin@latmos.ipsl.frE<gt> 
     163 
     164=head1 COPYRIGHT AND LICENSE 
     165 
     166Copyright (C) 2008, 2009, 2010, 2011, 2012 CNRS SA/CETP/LATMOS 
     167 
     168This library is free software; you can redistribute it and/or modify 
     169it under the same terms as Perl itself, either Perl version 5.10.0 or, 
     170at your option, any later version of Perl 5 you may have available. 
     171 
     172=cut 
Note: See TracChangeset for help on using the changeset viewer.