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

Lorenzo Bettini <[email protected]>
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
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     |
+-----------------------------------------------------+
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.