File: test_text_cmd.ggo

package info (click to toggle)
gengetopt 2.23%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 5,032 kB
  • sloc: cpp: 14,765; ansic: 8,232; sh: 4,782; makefile: 754; yacc: 514; lex: 179; sed: 3
file content (17 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# text after options

section         "Section 1" 

option          "str-opt"   s "A string option, for a filename"
	optional 
	string typestr="filename"

text            "      explain more about the string option"

section         "Section 2" 

text            "      some text after section 2"

option          "int-opt"   i "A int option"  int optional 

text            "      some final text"