Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.68.0
type Option func(p *Parser)
func WithStrict ¶ added in v0.68.0
func WithStrict() Option
WithStrict returns a Parser option that enables strict parsing mode. By default, the Parser runs in non-strict mode, where unknown flags are ignored. Calling this option ensures that unknown flags cause an error.
Click to show internal directories.
Click to hide internal directories.