Commit Graph

21 Commits

Author SHA1 Message Date
Dan Buch
5a5fa990e1
Merge remote-tracking branch 'origin/master' into exit-nonzero-for-unknown-subcommand 2016-05-09 00:59:36 -04:00
Dan Buch
5704421e7b
Merge remote-tracking branch 'origin/master' into add-global-boolt 2016-05-09 00:44:27 -04:00
Jesse Szwedko
28eb7b2cc4 Added Hidden command support to CHANGELOG 2016-05-08 21:03:02 -07:00
Jesse Szwedko
592f1d97e5 Exit non-zero if a unknown subcommand is given
Currently it just prints the help message and exits 0.

We do this by modifying the helpCommand and helpSubcommand cli.Commands
to return an error if they are called with an unknown subcommand. This
propogates up to the app which exits with 3 and prints the error.

Thanks to @danslimmon for the initial approach!

Fixes #276
2016-05-07 17:26:15 -07:00
Jesse Szwedko
e3ace79a91 Add GlobalBoolT
Fixes #206
2016-05-07 16:11:26 -07:00
Dan Buch
7de151883c
Added more notes about usage formatting changes 2016-05-02 19:48:35 -04:00
Dan Buch
22773b14c1
Allow for pluggable flag-level help text formatting
by defining `cli.DefaultFlagStringFunc` with a default value that uses
`withEnvHint`, conditionally running a given flag's `FormatValueHelp` if
present.

Closes #257
2016-05-02 13:05:21 -04:00
Dan Buch
fe67cb0f3d
Add note about error handling fix, prep 1.16.0 section 2016-05-02 11:41:01 -04:00
Dan Buch
9584555150
Include details of hidden flag impl in CHANGELOG 2016-05-01 08:44:01 -04:00
Dan Buch
a9afed5b15
Prepping v1.15.0 release 2016-04-30 13:48:08 -04:00
Dan Buch
896d2fd3c1
Add a note to CHANGELOG about dot-delimited YAML key lookup 2016-04-30 13:27:11 -04:00
Dan Buch
e059dc8188
Implement *Context.GlobalSet + relevant CHANGELOG entry 2016-04-30 11:46:47 -04:00
Dan Buch
e2161d7f64
Minor changelog update bits 2016-04-30 09:54:44 -04:00
Dan Buch
6eb8c82596
Merge remote-tracking branch 'origin/master' into txgruppi-develop 2016-04-28 16:07:37 -04:00
Dan Buch
b9bbb35c5b
Add change to Fixed section of Unreleased in CHANGELOG 2016-04-28 13:04:52 -04:00
Dan Buch
7651aa05a6
TRIVIAL specify *return* signature in deprecation message 2016-04-28 11:09:33 -04:00
Dan Buch
c3a6370616
Moving remaining details from #361 description to CHANGELOG.md 2016-04-28 11:07:53 -04:00
Dan Buch
271b56c71b
Cleanups based on feedback in #361 2016-04-28 10:15:04 -04:00
Jesse Szwedko
4733699ce3 Update changelog with placeholder support 2016-04-25 19:47:42 -07:00
Dan Buch
95d18920ad
Linkify release headings 2016-04-25 15:58:30 -04:00
Dan Buch
ed0056d1c1
Add CHANGELOG.md with backfilled releases 2016-04-25 15:48:21 -04:00