method

parse_boolean

parse_boolean(switch)
protected

Parse boolean values which can be given as –foo=true, –foo or –no-foo.