grass icon indicating copy to clipboard operation
grass copied to clipboard

v.info: Improve how parameters are handled

Open wenzeslaus opened this issue 4 months ago • 0 comments

This adjusts how flags are handled in relation to the format parameter. To keep the compatibility format does not have a default, and individual flags turn on the shell behavior for now (instead of having format=plain as default being overriden). This allows for outputting different format with format=plain if we want (I did that for -c which now for format=plain produces name: type instead of type|name which I kept only form format=shell). Both format=shell and format=json print by default similar set to what format=plain prints. Flags -egt will produce same output but individually they turn on only the specific subset which is the same behavior for shell as before introduction of the format parameter.

Given what v.info does, I had to change the whole documentation. I also added more information on printing attribute table colums and database connection and also on topology.

A new Notes section addresses the compatibility issues.

wenzeslaus avatar Jun 05 '25 16:06 wenzeslaus