// ParseFlags parses configuration values from commandline flags.
ParseFlags parses configuration values from commandline flags.
// ParseFlags parses configuration values from commandline flags .
func (y *Parser) ParseFlags(args []string) error {
	if err := y.doParseFlags(args); err != nil {
		return err
	}
	if err := y.validate(); err != nil {
		return err
	}
	return y.doParseArgs()
}
func ( y * Parser ) ParseFlags ( args [ ] string ) error { if err := y . doParseFlags ( args ) ; err != nil { return err } if err := y . validate ( ) ; err != nil { return err } return y . doParseArgs ( ) }
ParseFlags parses configuration values from commandline flags.
ParseFlags parses configuration values from commandline flags .