-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CmdInfo.ArgsHelp now contains the help text for short, long options and positional arguments, using a new convention. * func init() on all commands is now moved to the top of the source file, and help strings no longer are globals, for better readability and for immediate information about the command when reading from the top. * Remove debug command (which duplicated Parser() functionality) * Refactor Parser() * Still needs fix: broken workaround that has been removed, which previously overrode the usage string from the parser so that help manuals don't introduce the [<command>-OPTIONS] string on the usage line. This is a bug in both the CLI help and manpage generation code in go-flags, and will be tackled in a future PR in canonical/go-flags. See canonical/go-flags#4
- Loading branch information
Showing
26 changed files
with
363 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.