[GRASS-dev] G7 scripts: keywords versus keyword

Markus Neteler neteler at osgeo.org
Mon Dec 29 13:31:30 PST 2014


On Mon, Dec 29, 2014 at 3:13 PM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi all,
>
> 2014-12-28 18:02 GMT+01:00 Markus Neteler <neteler at osgeo.org>:
>>>> -#% keywords: general, projection, transformation
>>>> +#% keywords: general
>>>> +#% keywords: projection
>>>> +#% keywords: transformation
>>>
>>>
>>> Shouldn't the name of the key be "keyword" rather than "keywords" since only
>>> one is allowed? Or it is too heavy change?
>>
>> Probably it should be changed. I would not mind to do the job. We
>> could, however, also accept the plural form.
>> The relevant line of code seems to be
>>
>> line 87 in
>> general/g.parser/parse.c:    if (G_strcasecmp(cmd, "keywords") == 0) {
>
> no objections to change it to 'keyword'. Martin

Ok, done in r63871(trunk), r63872 (relbranch70), r63874 (Addons).

Markus


More information about the grass-dev mailing list