On Wed, May 13, 2015 at 10:14 AM, Vaclav Petras <wenzesl...@gmail.com>
wrote:
>
> On Wed, May 13, 2015 at 9:47 AM, Pietro <peter.z...@gmail.com> wrote:
> >
> > On Wed, May 13, 2015 at 11:08 AM, Martin Landa <landa.mar...@gmail.com>
wrote:
> > >
> > > 2015-05-13 8:03 GMT+02:00 Pietro <peter.z...@gmail.com>:
> > >
> > >> As you can see the description of the parameter add the default
> > >> description set in G_OPT_V_INPUT and in a new line the description
> > >> added manually in the definition of the module parameters. Instead
the
> > >> G_OPT_R_INPUT shows only the description set manually.
> > >
> > > right, G_OPT_V_INPUT has defined both label and description [1]. This
> > > the source of inconsistency. There are more standard options which
> > > defines both label and description.
> >
> > Do you think this inconsistency should be fix, or just reported
> > somewhere on a Wiki page?
>
> Perhaps all standard options should define both label and description and
you can then modify whatever suits you. (I often end up setting both.)
>
> In the future, we should revise this anyway, like move from description
to label as the primary one or making both mandatory.

See also *Standard options label vs description* from Huidae Cho:

http://lists.osgeo.org/pipermail/grass-dev/2014-June/069313.html
http://osgeo-org.1560.x6.nabble.com/Standard-options-label-vs-description-td5144023.html

Vaclav
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to