File: test_manual_help_args_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-- 626 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# test_manual_help_cmd.ggo

# test manual definition of help and version options
# where --no-help and --no-version are specified in args

args "--no-help --no-version"

package "test_manual_help_args"
version "1.0"

option "help"        h "show help (possibly of other options)" optional
option "detailed-help"        ? "show detailed help" optional
option "version"     V "show version of the program" optional
option "height"      - "this is the description of height" 
        optional int
        details="These are the details of option height"
option "vavoom"      - "this is the description of vavoom" optional string