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

Ian Walls koha.sekjal at gmail.com
Wed Jul 25 12:45:17 CEST 2012


+1

Ian
On Jul 25, 2012 3:07 AM, "Julian Maurice" <julian.maurice at biblibre.com>
wrote:

> 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
> ______________________________**_________________
> Koha-devel mailing list
> Koha-devel at lists.koha-**community.org<Koha-devel at lists.koha-community.org>
> http://lists.koha-community.**org/cgi-bin/mailman/listinfo/**koha-devel<http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.**org/ <http://bugs.koha-community.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20120725/e1a9ce64/attachment.htm>


More information about the Koha-devel mailing list