~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to bindings/octave/plplot_octave_txt/plparseopts.txt

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
plparseopts: Parse command-line arguments 
 
3
 
 
4
DESCRIPTION:
 
5
 
 
6
    Parse command-line arguments. 
 
7
 
 
8
SYNOPSIS:
 
9
 
 
10
plparseopts(p_argc, argv, mode)
 
11
 
 
12
ARGUMENTS:
 
13
 
 
14
    p_argc (int *, input) :    pointer to number of arguments. 
 
15
 
 
16
    argv (char **, input) :    Pointer to character array containing
 
17
    *p_argc command-line arguments. 
 
18
 
 
19
    mode (PLINT, input) :    Parsing mode with the following
 
20
    possibilities:
 
21
    PL_PARSE_FULL (1) -- Full parsing of command line and all error
 
22
    messages
 
23
    enabled, including program exit when an error occurs.  Anything on the
 
24
    command line that isn't recognized as a valid option or option
 
25
    argument is
 
26
    flagged as an error.
 
27
 
 
28
        PL_PARSE_QUIET (2) -- Turns off all output except in the case
 
29
        of errors.
 
30
 
 
31
        PL_PARSE_NODELETE (4) -- Turns off deletion of processed
 
32
        arguments.
 
33
 
 
34
        PL_PARSE_SHOWALL (8) -- Show invisible options
 
35
 
 
36
        PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a
 
37
        pointer to the
 
38
    program name.
 
39
 
 
40
        PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.
 
41
 
 
42
        PL_PARSE_SKIP (128) -- Set to quietly skip over any
 
43
        unrecognized args.