Documentation ¶
Index ¶
- func DoLongs(longoptions map[string]bool, cmd string, tokens *[]string, opts *[][]string, ...) (err error)
- func DoShorts(shortoptions map[string]bool, cmd string, tokens *[]string, opts *[][]string, ...) (err error)
- func Getopt(tokens []string, shortopts string, longopts []string) (opts [][]string, args []string, err error)
- func ParseLongOptions(longopts []string) (longoptions map[string]bool, err error)
- func ParseShortOptions(shortopts string) (shortoptions map[string]bool, err error)
- type GetoptError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLongOptions ¶
Types ¶
type GetoptError ¶
type GetoptError struct {
// contains filtered or unexported fields
}
func (*GetoptError) Error ¶
func (err *GetoptError) Error() string
Click to show internal directories.
Click to hide internal directories.