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

2012-07-25 Thread Julian Maurice
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.

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

2012-07-24 Thread Robin Sheat
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. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4

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

2012-07-24 Thread Claire Hernandez
On 24/07/2012 18:02, Paul Poulain wrote: This script has a help that is displayed when you run it with -h. So far so good. Do we agree it's a good idea to request that for future scripts, and add this in the coding guidelines ? Of course yes for: - (-h|--help) - maybe -v|--verbose if needed

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

2012-07-24 Thread Chris Cormack
+1 Chris On Jul 25, 2012 4:02 AM, Paul Poulain paul.poul...@biblibre.com wrote: Hello koha-devel, I just pushed a few minuts ago a new script in misc (bug 8376, but it doesn't matter for this mail) This script has a help that is displayed when you run it with -h. So far so good. BUT, it

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

2012-07-24 Thread Brendan Gallagher
+1 Brendan On Tue, Jul 24, 2012 at 1:09 PM, Chris Cormack ch...@bigballofwax.co.nzwrote: +1 Chris On Jul 25, 2012 4:02 AM, Paul Poulain paul.poul...@biblibre.com wrote: Hello koha-devel, I just pushed a few minuts ago a new script in misc (bug 8376, but it doesn't matter for this mail)

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

2012-07-24 Thread Kyle Hall
Sounds good to me. Kyle http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com ) On Tue, Jul

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

2012-07-24 Thread Chris Nighswonger
+1 Kind Regards, Chris On Tue, Jul 24, 2012 at 12:02 PM, Paul Poulain paul.poul...@biblibre.com wrote: Hello koha-devel, I just pushed a few minuts ago a new script in misc (bug 8376, but it doesn't matter for this mail) This script has a help that is displayed when you run it with -h. So