Versions in this module Expand all Collapse all v0 v0.2.0 Dec 18, 2019 Changes in this version type Options + func (o *Options) Help() string v0.1.0 Dec 17, 2019 Changes in this version + const ErrDuplicateOption + const ErrNoSuchOption + const ErrOptionRequiresValue + const ErrParsingValue + const ErrShortAndLongEmpty + type Option struct + ArgName string + ArgP interface{} + Handle func(string) error + HasArg bool + Help string + Long string + Raw string + Seen bool + Short rune + type Options struct + func (o *Options) Add(opts ...*Option) error + func (o *Options) Parse(args []string) ([]string, error) + func (o *Options) Reset()