On 06/23/14 12:08, Nikos Mavrogiannopoulos wrote:
> On Mon, 2014-06-23 at 10:30 -0700, Bruce Korb wrote:
> On 06/22/14 03:53, Nikos Mavrogiannopoulos wrote:
>>> Hello,
>>>    I'd like to override the default version string
>>
>> Specify a "version-proc":
>>
>> http://www.gnu.org/software/autogen/manual/html_node/automatic-options.html#automatic-options
>>
>> third paragraph.  :)
>
> Thanks, that seems to be very close to what I want. The issue is that
> I can't combine it with optionPrintVersion(), as optionPrintVersion()
> exits, so I'd have to duplicate printing the license message, and bugs
> address. Anyway maybe, I'm nitpicking, I think it is ok by having a
> more terse version text.

Ah.  Then:

    OPT_SET_VERSION_DOES_NOT_EXIT(&progOptions);
    optionPrintVersion(&progOptions, progOptions.pOptDesc + INDEX_OPT_HELP);

I still have 6 bits in the OPTPROC_* flags, before I have to do something
disruptive.  Won't be doing it today though.  :)

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to