[GRASS-dev] G7: parameter standardization: n/count, min/minimum etc

Glynn Clements glynn at gclements.plus.com
Wed Oct 16 10:40:33 PDT 2013


Markus Neteler wrote:

> >> I'll look into using > the option-matching code for option values as
> >> well as names.
> >
> > Done in r57999.
> 
> Is there any usage example?

Rather than just allowing the entire option to be abbreviated to a
prefix, each word can be abbreviated individually, so e.g.
minimum_raster could be abbreviated to e.g. minr.

There remains the issue that if one option is a prefix of another, the
shorter option must always be given in full, as any abbreviation of it
will also be a valid abbreviation of the longer option, and thus
ambiguous.

Suggestions welcome.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list