diff --git a/opts/opts.go b/opts/opts.go index aa3de81a4d..aa8d593b7e 100644 --- a/opts/opts.go +++ b/opts/opts.go @@ -131,6 +131,10 @@ func (opts *MapOpts) Set(value string) error { return nil } +func (opts *MapOpts) GetAll() map[string]string { + return opts.values +} + func (opts *MapOpts) String() string { return fmt.Sprintf("%v", map[string]string((opts.values))) }