[GRASS-dev] g.remove usage syntax

Margherita Di Leo diregola at gmail.com
Tue May 5 03:28:59 PDT 2015


Dear All,

I find the current syntax of g.remove a bit cumbersome, because it doesn't
seem to me in line with what happens with other commands.
If I want to remove the vector file foo, I have to type:

g.remove vect name=foo -f

Without the "name=" it won't work, which is not in line to the usage of
other commands.
To me it would be more natural (and indeed i always type wrong the first
time) something like:

g.remove vect name foo -f

being name one of the two options (name, pat) that could be identifier= or
something better. In this case, it would be possible to type the former
command or the extended form:

g.remove type=vect identifier=name name=foo -f
or
g.remove type=vect identifier=pattern name="f*" -f
(g.remove vect pat "f*" -f)

what do you think?

Thank you

-- 
Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo at jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150505/3c4ac7a9/attachment.html>


More information about the grass-dev mailing list