[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-gengetopt] show-config may print default values
From: |
Papp Gyozo (VBuster) |
Subject: |
[help-gengetopt] show-config may print default values |
Date: |
Fri, 12 Dec 2008 11:24:17 +0100 |
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.
--
Papp, Gyozo
Virusbuster Kft
- [help-gengetopt] show-config may print default values,
Papp Gyozo (VBuster) <=