text before 1st section

T <[email protected]>
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.