Commit Graph

1903 Commits

Author SHA1 Message Date
Jesse Szwedko
92372c1743 Merge pull request #433 from urfave/merging-from-v1
Merging from v1
2016-05-23 21:08:57 -07:00
Dan Buch
5700dc5a80
Merge remote-tracking branch 'origin/master' into v2 2016-05-23 22:09:32 -04:00
c70993dbc5 Merge branch 'v2' into minimize-struct-copying 2016-05-23 22:08:59 -04:00
80f444e0f5 Merge branch 'v2' into clean-stringlies 2016-05-23 22:08:42 -04:00
bfd74c7b2b Merge pull request #432 from urfave/flag-alias-bug-430
Ensure all flag aliases are set when Destination given
2016-05-23 22:07:45 -04:00
Dan Buch
a41a43b00f
Switch to fmt.Fprintf for displaying usage error 2016-05-23 22:03:19 -04:00
Dan Buch
8f25dbb615
Ensure all flag aliases are set when Destination given
and extend "Incorrect Usage" message to show the error.

Closes #430
2016-05-23 22:00:59 -04:00
1ce6660d5d Merge pull request #429 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 #428 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 #425 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 #423 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 #422 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 #419 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 #415
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 #414 from codegangsta/remove-boolt
Replace BoolTFlag type with BoolFlag.Value
2016-05-21 12:40:18 -07:00
Jesse Szwedko
bebbcf6d41 Merge pull request #417 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 #412
2016-05-18 08:20:15 -04:00
Jesse Szwedko
9eaa109385 Merge pull request #410 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 #413 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