#1474: random color -c flag broken in d.vect
--------------------------+-------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.0.5
Component: Vector | Version: svn-trunk
Resolution: fixed | Keywords: d.vect
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by wenzeslaus):
* status: new => closed
* resolution: => fixed
Comment:
`d.vect -c map=geology` works as expected.
`d.vect --help` now says:
{{{
layer Layer number or name ('-1' for all layers)
A single vector map can be connected to multiple database tables.
This number determines which table to use. When used with direct OGR
access this is the layer name.
default: 1
}}}
Most of the modules now (7.0) use G_OPT_V_FIELD which has layer
name/number `1`. Several modules use G_OPT_V_FIELD_ALL which uses `-1` as
default.
Closing as fixed.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1474#comment:8>
GRASS GIS <https://grass.osgeo.org>