1PLPARSEOPTS(3plplot)              PLplot API              PLPARSEOPTS(3plplot)
2
3
4

NAME

6       plparseopts - Parse command-line arguments
7

SYNOPSIS

9       plparseopts(p_argc, argv, mode)
10

DESCRIPTION

12       Parse command-line arguments.
13
14       Redacted  form:   General: plparseopts(argv, mode) Perl/PDL: Not avail‐
15       able?
16
17
18       This function is used in all of the examples.
19

ARGUMENTS

21       p_argc (int *, input)
22              pointer to number of arguments.
23
24       argv (char **, input)
25              Pointer to character array containing *p_argc command-line argu‐
26              ments.
27
28       mode (PLINT, input)
29              Parsing mode with the following possibilities: PL_PARSE_FULL (1)
30              -- Full parsing of command line and all error messages  enabled,
31              including  program  exit  when an error occurs.  Anything on the
32              command line that isn't recognized as a valid option  or  option
33              argument is flagged as an error.
34
35              PL_PARSE_QUIET (2) -- Turns off all output except in the case of
36              errors.
37
38              PL_PARSE_NODELETE (4) -- Turns off deletion of  processed  argu‐
39              ments.
40
41              PL_PARSE_SHOWALL (8) -- Show invisible options
42
43              PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a pointer
44              to the program name.
45
46              PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.
47
48              PL_PARSE_SKIP (128) -- Set to quietly skip over any unrecognized
49              args.
50
51
52
53

AUTHORS

55       Geoffrey  Furnish  and  Maurice LeBrun wrote and maintain PLplot.  This
56       man page was automatically generated from the  DocBook  source  of  the
57       PLplot   documentation,   maintained   by  Alan  W.  Irwin  and  Rafael
58       Laboissiere.
59

SEE ALSO

61       PLplot documentation at http://plplot.sourceforge.net/resources.
62
63
64
65                                  March, 2007             PLPARSEOPTS(3plplot)
Impressum