On Wed, Jul 2, 2008 at 4:22 PM, Martin Landa <[EMAIL PROTECTED]> wrote:
> Hi,
>
> 2008/7/2 Rainer M Krug <[EMAIL PROTECTED]>:
>> I finally started working on the implementation of grass commands from
>> R and most of the translation from the the output from
>> --interface-description is working. I just have one question at the
>> moment: some flags require "--" and others "-" and I could not fiind
>> any indication in the
>> --interface-description output which one uses which.
>
> I guess, basically one-letter flags use '-' othewise '--', e.g.
>
>       <flag name="g">
>                <label>
>                        Shell script style, currently only for report
>                </label>
>                <description>
>                        Format: layer type count min max
>                </description>
>        </flag>
>        <flag name="overwrite">
>                <description>
>                        Allow output files to overwrite existing files
>                </description>
>        </flag>
>
> -> '-g' / '--overwrite' (or '--o')

I thought the same, but look at r.buffer --help:


Flags:
  -z   Ignore zero (0) data cells instead of NULL cells
  -q   Run quietly
 --o   Allow output files to overwrite existing files
 --v   Verbose module output
 --q   Quiet module output

>
> Martin
>
> --
> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
>



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Plant Conservation Unit
Department of Botany
University of Cape Town
Rondebosch 7701
South Africa
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to