[GRASS-dev] G7 scripts: keywords versus keyword
Martin Landa
landa.martin at gmail.com
Mon Dec 29 06:13:33 PST 2014
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
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa
More information about the grass-dev
mailing list