~ubuntu-branches/ubuntu/raring/gengetopt/raring-proposed

« back to all changes in this revision

Viewing changes to doc/sample1.output.texinfo

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-11-15 01:31:28 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20121115013128-nnj2ag7x8v091mkn
Tags: 2.22.6-1
* New upstream release.
* Switch from autotools-dev to dh-autoreconf.
* Refresh patches.
* Bump debhelper requirements to automatically enable hardening.
* Update debian/copyright.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
For example: ./sample1 *.* --funct-opt
5
5
sample1 2.0
6
6
 
7
 
Usage: sample1 -iINT|--int-opt=INT [-h|--help] [--detailed-help] [--full-help] 
8
 
         [-V|--version] [-sfilename|--str-opt=filename] [-mINT|--my-opt=INT] 
9
 
         [--flag-opt] [-F|--funct-opt] [--long-opt=LONG] [--def-opt=STRING] 
 
7
Usage: sample1 -iINT|--int-opt=INT [-h|--help] [--detailed-help] [--full-help]
 
8
         [-V|--version] [-sfilename|--str-opt=filename] [-mINT|--my-opt=INT]
 
9
         [--flag-opt] [-F|--funct-opt] [--long-opt=LONG] [--def-opt=STRING]
10
10
         [--enum-opt=STRING] [-DINT|--dependant=INT] [FILES]...
11
11
 
12
12
  -h, --help              Print help and exit
13
 
      --detailed-help     Print help, including all details and hidden options, 
 
13
      --detailed-help     Print help, including all details and hidden options,
14
14
                            and exit
15
15
      --full-help         Print help, including hidden options, and exit
16
16
  -V, --version           Print version and exit
18
18
 
19
19
A brief text description before the other options.
20
20
 
21
 
  -m, --my-opt=INT        Another integer option, this time the description of 
22
 
                            the option should be "quite" long to require 
23
 
                            wrapping... possibly more than one wrapping :-) 
 
21
  -m, --my-opt=INT        Another integer option, this time the description of
 
22
                            the option should be "quite" long to require
 
23
                            wrapping... possibly more than one wrapping :-)
24
24
                            especially if I
25
25
                            require a line break
26
26
  -i, --int-opt=INT       A int option (mandatory)
35
35
last option section:
36
36
      --long-opt=LONG     A long option
37
37
      --def-opt=STRING    A string option with default  (default=`Hello')
38
 
      --enum-opt=STRING   A string option with list of values  (possible 
39
 
                            values="foo", "bar", "hello", "bye" 
 
38
      --enum-opt=STRING   A string option with list of values  (possible
 
39
                            values="foo", "bar", "hello", "bye"
40
40
                            default=`hello')
41
41
  -D, --dependant=INT     option that depends on str-opt
42
42