help-gengetopt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gengetopt] bug: gengetopt --show-help with continued lines


From: Lorenzo Bettini
Subject: Re: [help-gengetopt] bug: gengetopt --show-help with continued lines
Date: Sat, 30 Sep 2006 10:27:59 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060915)

T wrote:
Hi

I found that "gengetopt --show-help" cannot work with continued lines
illustrated in the example:

  $ gengetopt --show-help -i sample0.ggo
  sample0.ggo:10: syntax error \
  sample0.ggo:10: section "more involved options" \
  sample0.ggo:10:                                 ^

  $ diff -wu2 /usr/share/doc/gengetopt/examples/sample1.ggo sample0.ggo
  --- /usr/share/doc/gengetopt/examples/sample1.ggo       2006-08-22 
04:26:37.000000000 -0400
  +++ sample0.ggo 2006-09-29 12:07:28.000000000 -0400
  @@ -8,5 +8,6 @@
   option  "my-opt"          m "Another integer option, this time the description of 
the option should be quite long to require wrapping... possibly more than one wrapping :-) 
especially if I\nrequire a line break"      int     optional
   option  "int-opt"         i "A int option"         int        yes
  -section "more involved options" sectiondesc="the following options\nare more 
complex"
  +section "more involved options" \
  +  sectiondesc="the following options\nare more complex"
   option  "flag-opt"        - "A flag option"        flag       off
option "funct-opt" F "A function option" optional The sample1.ggo came along the package and works fine.
Is this a bug?

thanks

tong

Hi Tong

it's a missing feature...  I'll work on that so that it can be handled

cheers
        Lorenzo

--
+-----------------------------------------------------+
| Lorenzo Bettini          ICQ# lbetto, 16080134      |
| PhD in Computer Science, DSI, Univ. di Firenze      |
| Florence - Italy        (GNU/Linux User # 158233)   |
| http://www.lorenzobettini.it                        |
| http://tronprog.blogspot.com  BLOG                  |
| http://www.purplesucker.com Deep Purple Cover Band  |
| http://www.gnu.org/software/src-highlite            |
| http://www.gnu.org/software/gengetopt               |
| http://www.lorenzobettini.it/software/gengen        |
| http://www.lorenzobettini.it/software/doublecpp     |
+-----------------------------------------------------+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]