func (g *Group) Options() []*Option {
	return g.options
}
Options returns the list of options in this group.
package flags
import (
	"errors"
	"reflect"
	"strings"
	"unicode/utf8"
)
var ErrNotPointerToStruct = errors.New("provided data is not a pointer to struct")
type Group struct {
	ShortDescription string
	LongDescription string
	Namespace string
	Hidden bool
	parent interface{}
	options []*Option
	groups []*Group
	isBuiltinHelp bool
	data interface{}
}
type scanHandler func(reflect.Value, *reflect.StructField) (bool, error)
func (g *Group) AddGroup(shortDescription string, longDescription string, data interface{}) (*Group, error) {
	group := newGroup(shortDescription, longDescription, data)
	group.parent = g
	if err := group.scan(); err != nil {
		return nil, err
	}
	g.groups = append(g.groups, group)
	return group, nil
}
func (g *Group) Groups() []*Group {
	return g.groups
}