package opts import "fmt" type ErrBadOption rune func (e ErrBadOption) Error() string { return fmt.Sprintf("unknown option ā€˜%cā€™", e) } type ErrNoArgument rune func (e ErrNoArgument) Error() string { return fmt.Sprintf("expected argument for option ā€˜%cā€™", e) }