[GRASS-dev] [GRASS GIS] #2152: cd command does not work in GUI Command console
GRASS GIS
trac at osgeo.org
Mon Jan 13 18:33:15 PST 2014
#2152: cd command does not work in GUI Command console
---------------------------------+------------------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: 6.4.3
Keywords: cd, command console | Platform: All
Cpu: Unspecified |
---------------------------------+------------------------------------------
Comment(by wenzeslaus):
Replying to [comment:1 neteler]:
> The lacking --help support affects rather all modules.
Note that I meant `cd --help` as a test of standard system `cd` command.
No connection to GRASS modules and any kind of support of their `--help`
was intended.
> Attached a diff (GRASS 7 code) and a screenshot for review.
If see the feature at the screenshot, but I'm not getting the same result.
I don't understand how the patch would add the feature which is at the
screenshot, i.e. the support for complete of predefined long flags.
None of the predefined flags is autocompleted in the GUI Command console,
however, they worked without the patch and works with the patch:
{{{
g.region --help
...
r.proj --overwrite ...
}}}
The patch is little bit more crucial for GRASS than the not working `cd`
command, so I would say that the patch is somehow hidden here.
For me, the patch changes parser, so that modules now accepts also
{{{
g.region --h
}}}
and not only
{{{
g.region --o
}}}
I cannot say the effect in the GUI without a detailed analyses but it
seems right.
I actually like the patch for the parser, I wanted propose `--h` and
inclusion of `--help` in the manual page myself.
I just don't like the wording of the `--help` description, especially the
slash:
{{{
--help Command line help/usage summary
}}}
What about
{{{
--help Prints usage summary
}}}
We use word ''print'' for `-p` and `-g` options already.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2152#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list