Pike v8.1 release 6

Class Arg.OptLibrary()->Int

Inheritance graph
Arg.OptLibrary.Opt Arg.OptLibrary.Int
Description

Wrapper class that converts the option argument to an integer.

Example

Opt foo = Int(HasOpt("--foo")|Default(4711));


Inherit Opt

inherit Opt : Opt


Variable opt

Opt Arg.OptLibrary.Int.opt


Method create

Arg.OptLibrary.Int Arg.OptLibrary.Int(Opt opt)