Hi,
I want to put some text before 1st section to explain about the program,
but noticed it is generated after the section instead:
--------------------------------
# Name of your program, don't use if you're using automake
package "sample1"
# Version of your program, don't use if you're using automake
version "2.0"
purpose "this is just a test program for gengetopt"
text "Explain about the program"
section "Options"
option "str-opt" s "A string option, for a filename" optional
string typestr="filename"
--------------------------------
will get me:
--------------------------------
sample1 2.0
this is just a test program for gengetopt
Usage: sample1 [OPTIONS]...
--full-help Print help, including hidden options, and exit
Options:
Explain the program
-s, --str-opt=filename A string option, for a filename
--------------------------------
is it doable?
thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/
_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt