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 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gengetopt
