optstrictparameters

  • Version 3.5 and earlier: optstrictparameters variable not available.
  • Version 4.0 and later: optstrictparameters variable available.

Data Type

Boolean

Description

The getopt_long() function provides strict interpretation of argument parameters. In particular, arguments with optional parameters are accepted only in the form --argument=parameter. Some non-compliant programs allow --argument parameter. To make getopt_long() recognize the latter form, set optstrictparameters to false.

Syntax

optstrictparameters = boolean;

Valid Values

true Allows getopt_long()'s strict interpretation of argument parameters. The default is true.
false Makes getopt_long() recognize --argument parameter specifications.
optstrictparameters = false;

For more information, see the following: