[GRASS-dev] [grass-code I][444] v.in.ogr: false optional 'dsn'
and 'output'
Hamish
hamish_nospam at yahoo.com
Wed Jul 11 04:41:28 EDT 2007
http://wald.intevation.org/tracker/?func=detail&atid=204&aid=444&group_id=21
> code I item #444, was opened at 2007-07-10 12:36
> Submitted By: Maciej Sieczka (msieczka)
> Summary: v.in.ogr: false optional 'dsn' and 'output'
..
> v.in.ogr advertises the 'dsn' and 'output' as optional in 6.3 CVS:
>
> GRASS 6.3.cvs (spearfish60):~ > v.in.ogr help 2>&1 | grep Usage -A1
> Usage:
> v.in.ogr [-lfcztoew] [dsn=string] [output=name]
>
> (see the brackets around options dsn and output; their presence is
> interpreted as "optional" by the autogenerated tcl/tk GUI)
this is so you can use the -l and -f flags without supplying dummy
values to dsn= and output=. I don't know what the correct answer is, but
that was the logic behind the change, AFAIU.
Hamish
More information about the grass-dev
mailing list