help-gengetopt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gengetopt] show-config may print default values


From: Lorenzo Bettini
Subject: Re: [help-gengetopt] show-config may print default values
Date: Fri, 12 Dec 2008 11:52:10 +0100
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

Papp Gyozo (VBuster) wrote:
Hi everyone out there,

I have just a quick but probably add to gengetopt now. Now we have a shiny 
_dump() function to print all *given* options to an output stream.  Now I come 
up with the idea that this funciton be able to print default values as well if 
it is required.

The reason behind that is my application fills some of the default values at 
runtime which could not be compiled into the source like the actual value of 
TEMP environmental variable. (These default values can be overriden by the 
user, of course) This way I, and what would be more important, the users as 
well could see easily what went wrong.


Hi there

I'm not sure I understad: do you just need that if an option contains the default value it should be dumped anyway, am I right?

cheers
        Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]