So now i understand that some modules are needed the --ui flag,
could be possible to add an hint on the manual synopsis, like this:

module that does not require the flag: eg g.remove

g.remove
g.remove --help
g.remove .......................

module that *does* require the flag:

g.copy [--ui]
g.copy --help
g.copy ...................

in this way it is maybe more clear that in some situation the flag is 
required.

Also the NOTES section of the g.copy manual page describe something
that seems to not happen at all, maybe it needs to be updatet ...(?)



Il 10/04/2016 21:14, Anna Petrášová ha scritto:
> On Sun, Apr 10, 2016 at 3:03 PM, Blumentrath, Stefan
> <stefan.blumentr...@nina.no> wrote:
>> Try g.copy --ui
>>
>> It is obviously confusing that the --ui flag is needed for some modules to 
>> start the GUI...
>>
> I see. It's because there is no required parameter. It should be
> solved using G_option_required(), but the options are in an array, so
> I don't know how to use it in this case.
>
> Anna
>
>

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

Reply via email to