func (d *Flags) Parse(args *[]string) (*data.Data, error) {
	return d.parse(args, true)
}
Parse parses the flags and returns the data
package flags
import (
	"fmt"
	"github.com/docker/docker/opts"
	"github.com/docker/docker/pkg/mflag"
	"github.com/docker/docker/utils"
	"github.com/mattes/go-collect/data"
	"strings"
)
type Flags struct {
	Name    string
	flagset *mflag.FlagSet
}
func New(name string) *Flags {
	d := &Flags{}
	d.Name = name
	d.flagset = mflag.NewFlagSet("", mflag.ContinueOnError)
	return d
}
func (d *Flags) Keys() ([]string, error) {
	da, err := d.parse(nil, false)
	if err != nil {
		return nil, err
	}
	return da.Keys(), nil
}