[Koha-devel] Proposal for a new coding guideline for command line scripts

Julian Maurice julian.maurice at biblibre.com
Wed Jul 25 09:07:19 CEST 2012


Le 24/07/2012 18:06, Robin Sheat a écrit :
> Op 24-07-12 18:02, Paul Poulain schreef:
>> Do we agree it's a good idea to request that for future scripts, and add
>> this in the coding guidelines ?
>
> I find this also makes it very easy to have short '--help' output, and
> longer '--manual' output.
>
> Robin.
>

+1 for having -h|--help ouptput a brief help message and another option 
to have POD (not mandatory, we could just do perldoc ./myscript.pl)

-- 
Julian Maurice <julian.maurice at biblibre.com>
BibLibre


More information about the Koha-devel mailing list