[GRASS-dev] inconsistency between G_OPT_V_INPUT and G_OPT_R_INPUT
Huidae Cho
grass4u at gmail.com
Tue Jul 7 22:35:12 PDT 2015
I think we still need to fix it.
On Thu, May 21, 2015 at 11:15 AM, Vaclav Petras <wenzeslaus at gmail.com>
wrote:
>
>
> On Wed, May 13, 2015 at 10:14 AM, Vaclav Petras <wenzeslaus at gmail.com>
> wrote:
> >
> > On Wed, May 13, 2015 at 9:47 AM, Pietro <peter.zamb at gmail.com> wrote:
> > >
> > > On Wed, May 13, 2015 at 11:08 AM, Martin Landa <landa.martin at gmail.com>
> wrote:
> > > >
> > > > 2015-05-13 8:03 GMT+02:00 Pietro <peter.zamb at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150708/58717daa/attachment.html>
More information about the grass-dev
mailing list