flag

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2015 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterArgs

func FilterArgs(fs *flag.FlagSet, args []string) ([]string, []string, []string)

FilterArgs filters the args slice to only include the the flags in the given flagset and returns a new arg slice that has the included args as well as a slice that has only the excluded args. The final returned slice is the positional arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL