Pike v8.0 release 1738

Method Arg.OptLibrary()->Opt()->get_value()


Method get_value

mixed get_value(array(string) argv, mapping(string:string) env, int|string previous)

Description

Should return 1 for set options or a string containing the value of the option. Returning 0 means the option was not set (or matched). To properly chain arguments parsers, return ::get_value(argv, env, previous) instead of 0, unless you want to explicitly stop the chain and not set this option.