[GRASS-dev] [GRASS-SVN] r61027 - grass/trunk/general/g.mlist
Huidae Cho
grass4u at gmail.com
Sat Jun 28 14:48:51 PDT 2014
Hi Vaclav,
I never thought that can be confused with the default "not restricted". I
wouldn't say the default is "all". The default is "Don't use any region at
all". Well, maybe, they are the same thing? '*' means the entire region
that the PERMANENT mapset supports by default.
We can introduce as many special characters as we want, but IMHO it's
better to keep special characters to a minimum if possible and as long as
we clearly convey what they mean, it should be fine.
Best,
Huidae
On Sat, Jun 28, 2014 at 3:54 PM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
> Hi Huidae,
>
> I think that the default interpretation of * is all, so * can be confused
> with the default for this option (all). But I don't have any suggestion of
> character for default region, perhaps + because is on numeric keyboard,
> too. Or do you think that this is not an issue since * is in GRASS used
> also for NULLs?
>
> Thanks,
> Vaclav
>
>
> On Sat, Jun 28, 2014 at 10:04 AM, <svn_grass at osgeo.org> wrote:
>
>> Author: hcho
>> Date: 2014-06-28 07:04:42 -0700 (Sat, 28 Jun 2014)
>> New Revision: 61027
>>
>> Modified:
>> grass/trunk/general/g.mlist/main.c
>> Log:
>> g.mlist: help cosmetics
>>
>> Modified: grass/trunk/general/g.mlist/main.c
>> ===================================================================
>> --- grass/trunk/general/g.mlist/main.c 2014-06-28 13:59:27 UTC (rev
>> 61026)
>> +++ grass/trunk/general/g.mlist/main.c 2014-06-28 14:04:42 UTC (rev
>> 61027)
>> @@ -115,10 +115,9 @@
>> opt.separator->answer = "newline";
>>
>> opt.region = G_define_standard_option(G_OPT_M_REGION);
>> - opt.region->label = _("Name of saved region for map search");
>> + opt.region->label = _("Name of saved region for map search (default:
>> not restricted)");
>> opt.region->description =
>> - _("'*' for default region; '.' for current region "
>> - "(default: not restricted)");
>> + _("'.' for current region; '*' for default region");
>>
>> opt.output = G_define_standard_option(G_OPT_F_OUTPUT);
>> opt.output->required = NO;
>>
>> _______________________________________________
>> grass-commit mailing list
>> grass-commit at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-commit
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140628/d925465d/attachment.html>
More information about the grass-dev
mailing list