[GRASS-dev] Scripts still using "-q" instead of "--q"

Jachym Cepicky jachym.cepicky at centrum.cz
Wed Oct 4 05:39:51 EDT 2006


hi,

On Wed, Oct 04, 2006 at 10:34:59AM +0200, Benjamin Ducke wrote:
> Sorry, I missed the most important part of this discussion.
> What's the problem with the fprintf() functions and
> what should they be replaced with?

sometimes, fprintf is used on places, where G_message or G_warning
should be used, so the user can controll level of verbosity of grass
modules globaly.

for printing results of some calculation, fprintf(stdout,,) should be used

jachym

> 
> Jachym Cepicky wrote:
> >hi,
> >everybody is welcome to hound after -q/-v flags and fprintf functions.
> >i'm progressing only slowly.
> >
> >thank you
> >
> >jachym
> >
> >On Tue, Oct 03, 2006 at 08:58:47PM -0700, Michael Barton wrote:
> >
> >>I found 2 others and want to make sure I need to change them. They are in
> >>v.transform and r.univar.
> >>
> >>Do both need to be changed from -q to --q?
> >>
> >>I can change them tomorrow if they do.
> >>
> >>Michael
> >>__________________________________________
> >>Michael Barton, Professor of Anthropology
> >>School of Human Evolution & Social Change
> >>Center for Social Dynamics & Complexity
> >>Arizona State University
> >>
> >>phone: 480-965-6213
> >>fax: 480-965-7671
> >>www: http://www.public.asu.edu/~cmbarton
> >>
> >>
> >>
> >>
> >>>From: "Patton, Eric" <epatton at nrcan.gc.ca>
> >>>Date: Tue, 3 Oct 2006 16:11:46 -0300
> >>>To: "'grassuser at grass.itc.it'" <grassuser at grass.itc.it>
> >>>Cc: "'grass-dev at grass.itc.it '" <grass-dev at grass.itc.it>
> >>>Subject: [GRASS-dev] Scripts still using "-q" instead of "--q"
> >>>
> >>>I noticed that the d.histogram tool in gis.m now gives an error because 
> >>>it
> >>>uses the -q flag when it calls d.histogram. A few of my own scripts need 
> >>>to
> >>>be updated to the quiet/verbose changes in parser as well.
> >>>
> >>>Maybe everyone could keep an eye out for GUI tools that call programs 
> >>>using
> >>>the old -q or -v flags?
> >>>
> >>>~ Eric.
> >>>
> >>>
> >>
> >>_______________________________________________
> >>grass-dev mailing list
> >>grass-dev at grass.itc.it
> >>http://grass.itc.it/mailman/listinfo/grass-dev
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >grassuser mailing list
> >grassuser at grass.itc.it
> >http://grass.itc.it/mailman/listinfo/grassuser
> 
> -- 
> Benjamin Ducke, M.A.
> Archäoinformatik
> (Archaeoinformation Science)
> Institut für Ur- und Frühgeschichte
> (Inst. of Prehistoric and Historic Archaeology)
> Christian-Albrechts-Universität zu Kiel
> Johanna-Mestorf-Straße 2-6
> D 24098 Kiel
> Germany
> 
> Tel.: ++49 (0)431 880-3378 / -3379
> Fax : ++49 (0)431 880-7300
> www.uni-kiel.de/ufg
> 
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------   
OFFICE:                                     
Department of Geoinformation Technologies 
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky at node.mendelu.cz
URL:    http://mapserver.mendelu.cz
Tel.:   +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061004/198a757d/attachment.bin


More information about the grass-dev mailing list