[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-gengetopt] text before 1st section
From: |
T |
Subject: |
[help-gengetopt] text before 1st section |
Date: |
Fri, 17 Nov 2006 00:40:18 -0500 |
User-agent: |
Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) |
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] text before 1st section,
T <=