Commit Graph

21 Commits

Author SHA1 Message Date
Jesse Szwedko
f585ec7cb8 Remove reordering of flags and arguments
This was introduced by #36, but only worked in the specific case of all
arguments being passed before all flags. If the user mixed them, they
ended up with odd parsing behavior where the arguments were reordered
(causing #103 and #355).

Given the tradeoffs I think we should remove support for flag
reordering.

Fixes #103
Fixes #355
2016-05-07 16:36:54 -07:00
Dan Buch
a1e5328e30
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160 2016-05-03 05:25:07 -04: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
1fb52b3bce
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160 2016-04-30 13:13:02 -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
ee736e063a
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160 2016-04-28 16:53:45 -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
47f6721fae
Update CHANGELOG and add a script to help with slice type migration 2016-04-28 12:35:56 -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