Changeset 2383 for trunk/LATMOS-Accounts


Ignore:
Timestamp:
06/05/20 12:15:58 (4 years ago)
Author:
nanardon
Message:

Add -e option to la-create (no attribute list)

File:
1 edited

Legend:

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

    r1998 r2383  
    3131    'f=s'        => \my $inputfile, 
    3232    'ro'         => \my $with_ro, 
     33    'e'          => \my $empty_file, 
    3334    'u|update'   => \my $allow_update, 
    3435    'help'       => sub { pod2usage(0) }, 
     
    6566Use this file to get attributes (- use stdin) 
    6667If this option is not present, you'll have a file opened in your prefered editor to edit. 
     68 
     69=item -e 
     70 
     71Calling vi with an empty text file (instead having a list of attribute) 
    6772 
    6873=back 
     
    138143                    only_rw => !$with_ro, 
    139144                } 
    140             ); 
     145            ) unless($empty_file); 
    141146        }, 
    142147        sub { 
Note: See TracChangeset for help on using the changeset viewer.