Documentation ¶
Overview ¶
Flags are displayed in the order they are defined However, it's possible to sort them from outside this library using FlagByName or CommandsByName with *sort* To run this example, open a terminal and run: $ go install 8-ordering.go $ 8-ordering --help Note how different the ordering of the flags change after executing the sort function
Click to show internal directories.
Click to hide internal directories.