README ¶ usage Installation go get github.com/orisano/usage How to use package main import ( "flag" "fmt" "github.com/orisano/usage" ) func main() { flag.Usage = usage.Ordered("n", "N") n := flag.Int("n", 0, "number n") N := flag.Int("N", 1, "number N") flag.Parse() fmt.Println(*n, *N) } Author Nao Yonashiro (@orisano) License MIT Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Ordered(names ...string) func() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Ordered ¶ func Ordered(names ...string) func() Types ¶ This section is empty. Source Files ¶ View all Source files ordered.go Click to show internal directories. Click to hide internal directories.