Commit Graph

1397 Commits

Author SHA1 Message Date
Dan Buch
8f25dbb615
Ensure all flag aliases are set when Destination given
and extend "Incorrect Usage" message to show the error.

Closes 
2016-05-23 22:00:59 -04:00
1ce6660d5d Merge pull request from urfave/travis-osx
Test latest go version on OS X
2016-05-23 20:56:50 -04:00
Dan Buch
ec05a8d31b
Ensure flag "Name" field values are un-stringly-fied
to (hopefully) help with bug triage & pinpointing usage issues since ripping out
stringly typed "Name".
2016-05-23 20:55:03 -04:00
Dan Buch
e4666418bb
Add (and backfill) some notes about platform support 2016-05-23 20:34:33 -04:00
Dan Buch
f136df348e
Only test latest go on osx 2016-05-23 20:21:14 -04:00
Dan Buch
dcc28a1b2b
Enable osx testing 2016-05-23 20:19:54 -04:00
Dan Buch
61710ff108
Make slice wrapping pattern more consistent
and move *Args out into its own file
2016-05-23 20:15:35 -04:00
59cdedb334 Merge branch 'v2' into minimize-struct-copying 2016-05-23 19:55:08 -04:00
685865d2d9 Merge pull request from urfave/merging-from-v1
Merging from v1
2016-05-23 19:54:57 -04:00
Dan Buch
2f3309c789
Merge remote-tracking branch 'origin/master' into v2 2016-05-23 19:49:39 -04:00
edb48195de Merge pull request from urfave/appveyor-badge
Brush off Windows support
2016-05-23 19:45:33 -04:00
Dan Buch
377aca16cf
Trivial updates to appveyor config 2016-05-23 19:39:04 -04:00
Dan Buch
9b16216c07
Merge remote-tracking branch 'origin/v2' into minimize-struct-copying 2016-05-23 19:37:17 -04:00
Dan Buch
b37df9de86
See why README examples are unhappy on Windows 2016-05-22 20:35:25 -04:00
Dan Buch
4566119b39
Close temporary file before running go tool cover 2016-05-22 19:44:21 -04:00
Dan Buch
9491a91336
Try to run a python script 2016-05-22 19:37:59 -04:00
Dan Buch
d277cbf893
Use clone_folder in appveyor.yml
instead of dir moving shenanigans
2016-05-22 19:32:48 -04:00
Dan Buch
531c7defe7
Trying xcopy instead of move 2016-05-22 19:18:38 -04:00
Dan Buch
288d62118a
Try to get appveyor.yml working again 2016-05-22 19:15:05 -04:00
97e55662b1 Add Windows (appveyor) badge 2016-05-22 18:52:21 -04:00
449c7f96f3 Merge pull request from urfave/merging-v1
Merging from master/v1
2016-05-22 18:35:34 -04:00
Dan Buch
6d6f7da978
Merging from master/v1 2016-05-22 18:30:07 -04:00
Jesse Szwedko
2ae9042f5b Merge pull request from urfave/update-references-to-codegangsta
Update references to codegangsta to urfave (new org name)
2016-05-22 14:46:02 -07:00
Jesse Szwedko
024b4c6240 Update references to codegangsta to urfave (new org name)
Also add notice to README
2016-05-22 14:42:23 -07:00
Dan Buch
cd10b49473
Minimize struct copying
by using pointer func receivers and slices of struct pointers where possible.
2016-05-22 15:20:52 -04:00
Jesse Szwedko
b35c8a92d2 Merge pull request from codegangsta/remove-stringlies
Replace all "stringly typed" fields with slice equivalents
2016-05-22 08:12:24 -07:00
Dan Buch
334e66cb8f
Remove unused (so far) func 2016-05-22 10:59:42 -04:00
Dan Buch
81fcf706ea
Replace all "stringly typed" fields with slice equivalents
and alter the Flag interface accordingly

Closes 
2016-05-21 21:29:45 -04:00
Dan Buch
fac67ac91a
Show BoolFlag default value in help usage
now that BoolTFlag is gone
2016-05-21 20:02:08 -04:00
Jesse Szwedko
65357985c2 Merge remote-tracking branch 'origin/master' into v2 2016-05-21 12:43:58 -07:00
Jesse Szwedko
f8fcce1c96 Merge pull request from codegangsta/remove-boolt
Replace BoolTFlag type with BoolFlag.Value
2016-05-21 12:40:18 -07:00
Jesse Szwedko
bebbcf6d41 Merge pull request from codegangsta/trim-go1.1-support
Trim go1.1 support
2016-05-21 11:46:57 -07:00
Dan Buch
71b858d796
Skipping gfmxr on go1.1, too 2016-05-21 08:53:15 -04:00
Dan Buch
9132ebec9e
Customize install step for go1.1.2 2016-05-21 08:53:09 -04:00
Dan Buch
00bd2a95b2
Do not test ./altsrc on go1.1
as the YAML library requires go1.2+
2016-05-21 08:53:01 -04:00
Dan Buch
9c132d990a
Add more tests for BoolFlag{Value: true} 2016-05-18 08:30:28 -04:00
Dan Buch
f2d5ed9933
Replace BoolTFlag type with BoolFlag.Value
Closes 
2016-05-18 08:20:15 -04:00
Jesse Szwedko
9eaa109385 Merge pull request from codegangsta/remove-global-lookups
Remove all Context.Global* methods
2016-05-17 21:17:25 -07:00
Dan Buch
a02aab6b4b
Add note about removal of Context.Parent 2016-05-17 20:27:42 -04:00
Dan Buch
1925bb4e3b
Merge remote-tracking branch 'origin/v2' into remove-global-lookups 2016-05-17 20:26:30 -04:00
Jesse Szwedko
12814f7c57 Merge pull request from codegangsta/remove-deprecated
Remove deprecated things and supporting code
2016-05-17 17:01:40 -07:00
Dan Buch
c19dbaf230
Remove deprecated things and supporting code 2016-05-17 15:11:44 -04:00
Dan Buch
7318e27528
Tidy up the flag name visitor func in Context 2016-05-17 03:46:16 -04:00
Dan Buch
7828300b97
Merge remote-tracking branch 'origin/v2' into remove-global-lookups 2016-05-17 03:35:08 -04:00
Dan Buch
6b0c4de4aa
Merge remote-tracking branch 'origin/master' into v2 2016-05-17 03:34:53 -04:00
0eb4e0be6c TRIVIAL removal of extra "current" 2016-05-17 03:33:51 -04:00
Dan Buch
37e2f51a16
Merge remote-tracking branch 'origin/v2' into remove-global-lookups 2016-05-17 03:17:03 -04:00
Dan Buch
c720f37e15
Context tests and tweaks around lineage traversal
per feedback on 
2016-05-17 03:16:26 -04:00
Dan Buch
cfc21d1af6
Merge remote-tracking branch 'origin/master' into v2 2016-05-16 11:04:15 -04:00
3a52a3b812 Merge pull request from codegangsta/v2-docs
Version pinning docs
2016-05-16 11:01:49 -04:00