~ubuntu-branches/ubuntu/saucy/gengetopt/saucy-proposed

« back to all changes in this revision

Viewing changes to doc/testdata

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2013-05-09 12:48:17 UTC
  • mfrom: (16.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130509124817-ex5jkvyh7cu8o22c
Tags: 2.22.6-2
* Upload to unstable.
* Fix VCS URLs.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
For example: ./sample1 *.* --funct-opt
16
16
sample1 2.0
17
17
 
18
 
Usage: sample1 -iINT|--int-opt=INT [-h|--help] [--detailed-help] [--full-help] 
19
 
         [-V|--version] [-sfilename|--str-opt=filename] [-mINT|--my-opt=INT] 
20
 
         [--flag-opt] [-F|--funct-opt] [--long-opt=LONG] [--def-opt=STRING] 
 
18
Usage: sample1 -iINT|--int-opt=INT [-h|--help] [--detailed-help] [--full-help]
 
19
         [-V|--version] [-sfilename|--str-opt=filename] [-mINT|--my-opt=INT]
 
20
         [--flag-opt] [-F|--funct-opt] [--long-opt=LONG] [--def-opt=STRING]
21
21
         [--enum-opt=STRING] [-DINT|--dependant=INT] [FILES]...
22
22
 
23
23
  -h, --help              Print help and exit
24
 
      --detailed-help     Print help, including all details and hidden options, 
 
24
      --detailed-help     Print help, including all details and hidden options,
25
25
                            and exit
26
26
      --full-help         Print help, including hidden options, and exit
27
27
  -V, --version           Print version and exit
29
29
 
30
30
A brief text description before the other options.
31
31
 
32
 
  -m, --my-opt=INT        Another integer option, this time the description of 
33
 
                            the option should be "quite" long to require 
34
 
                            wrapping... possibly more than one wrapping :-) 
 
32
  -m, --my-opt=INT        Another integer option, this time the description of
 
33
                            the option should be "quite" long to require
 
34
                            wrapping... possibly more than one wrapping :-)
35
35
                            especially if I
36
36
                            require a line break
37
37
  -i, --int-opt=INT       A int option (mandatory)
46
46
last option section:
47
47
      --long-opt=LONG     A long option
48
48
      --def-opt=STRING    A string option with default  (default=`Hello')
49
 
      --enum-opt=STRING   A string option with list of values  (possible 
50
 
                            values="foo", "bar", "hello", "bye" 
 
49
      --enum-opt=STRING   A string option with list of values  (possible
 
50
                            values="foo", "bar", "hello", "bye"
51
51
                            default=`hello')
52
52
  -D, --dependant=INT     option that depends on str-opt
53
53