// New returns new instance of the Yag.
New returns new instance of the Yag.
// New returns new instance of the Yag .
func New(options ...ParserOption) *Parser {
	y := &Parser{}
	for _, opt := range options {
		opt(y)
	}
	y.flagSet = &flag.FlagSet{Usage: func() {}}
	return y
}
func New ( options ... ParserOption ) * Parser { y := & Parser { } for _ , opt := range options { opt ( y ) } y . flagSet = & flag . FlagSet { Usage : func ( ) { } } return y }
New returns new instance of the Yag.
New returns new instance of the Yag .