[GRASS-dev] Adding an expert mode to the parser

Veronica Andreo veroandreo at gmail.com
Mon Sep 26 14:24:54 PDT 2016


Hello

I'm with MaDi in that if I see a very long list of flags and parameters in
the terminal when using --h, i just go to the manual... I just use --h in
CLI for a quick recalling of flags/options... A reduced list of most
commonly used flags would be nice, but still keep the possibility to get
the advanced flags/parameters as well, if the user needs more info... and
the same in the GUI and manual pages then (a tab or section for advanced
flags/parameters)...

IMHO, a major issue however is the lack of examples for the usage of more
advanced flags or options (or even the required and more common ones). Take
the case of several i.* modules, for example... but maybe this should go in
a separate thread :-)

Cheers,
Vero

2016-09-26 6:01 GMT-03:00 Margherita Di Leo <diregola at gmail.com>:

> Hi,
>
> On Fri, Sep 23, 2016 at 12:00 AM, Markus Neteler <neteler at osgeo.org>
> wrote:
>
>> Hi,
>>
>> in order to not hinder the addition of important new flags/parameters
>> to modules while keeping things optionally easy it would be good to
>> implement some expert mode to the parser.
>>
>> The flags and parameters for advanced users should be hidden by
>> default (maybe by using an extra definition in order to "tag" them in
>> the source code). Then e.g. by setting a variable they would become
>> visible in the help text and GUI.
>> Probably they should be always accepted when being invoked.
>>
>
>  This makes sense to me. If I type name.module --help and the command line
> yield too long a list of parameters, I normally prefer reading it on the
> manual page, where it is more clear, and I find extremely useful the usage
> examples of the flags. I don't find it very informative to list all the
> flags in command line, even the less used. There could be for example a
> --ext-help for extended help display. So for example, typing only --help
> would list only most used options and would end with "type --ext-help for
> extended help" or something like that.
>
> My 2 c
>
> --
> Margherita Di Leo
>
> _______________________________________________
> 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/20160926/a95e471f/attachment.html>


More information about the grass-dev mailing list