Opened 11 years ago
Closed 8 years ago
#2099 closed defect (fixed)
G_OPT_M_COLR not recognized in Python script
Reported by: | annakrat | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.5 |
Component: | LibGIS | Version: | svn-trunk |
Keywords: | color table, parser | Cc: | |
CPU: | Unspecified | Platform: | Linux |
Description
When I try to use standardized option G_OPT_M_COLR (color tables) in a Python script, I get only:
myscript --help Description: ... Usage: ... ERROR: Option key not defined
and
myscript --interface-description ... <parameter name="(null)" type="string" required="no" multiple="no"> </parameter> ...
This affects t.rast.colors. G_OPT_M_COLR is defined here:
[1] http://trac.osgeo.org/grass/browser/grass/trunk/lib/gis/parser_standard_options.c#L619
Note:
See TracTickets
for help on using tickets.
t.rast.colors --interface-description
seems to work.... | grep null
gives nothing.t.rast.colors --help
gives full output and no error:Test script with
G_OPT_M_COLR
should be created.