[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-gengetopt] bug: gengetopt --show-help with continued lines
From: |
T |
Subject: |
[help-gengetopt] bug: gengetopt --show-help with continued lines |
Date: |
Fri, 29 Sep 2006 12:13:32 -0400 |
User-agent: |
Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) |
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
- [help-gengetopt] bug: gengetopt --show-help with continued lines,
T <=