2
plparseopts: Parse command-line arguments
6
Parse command-line arguments.
10
plparseopts(p_argc, argv, mode)
14
p_argc (int *, input) : pointer to number of arguments.
16
argv (char **, input) : Pointer to character array containing
17
*p_argc command-line arguments.
19
mode (PLINT, input) : Parsing mode with the following
21
PL_PARSE_FULL (1) -- Full parsing of command line and all error
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
28
PL_PARSE_QUIET (2) -- Turns off all output except in the case
31
PL_PARSE_NODELETE (4) -- Turns off deletion of processed
34
PL_PARSE_SHOWALL (8) -- Show invisible options
36
PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a
40
PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.
42
PL_PARSE_SKIP (128) -- Set to quietly skip over any