Commit Graph

651 Commits

Author SHA1 Message Date
Dan Buch
3d75e9e711
Go with interfaces + private opaque types
rather than public types that wrap slices
2016-05-25 12:05:14 -04:00
Dan Buch
cd1e8c3452
Merge remote-tracking branch 'origin/v2' into minimize-struct-copying 2016-05-25 09:35:21 -04:00
9d93484b37 Merge pull request #435 from urfave/merging-from-v1
Merging from v1
2016-05-25 09:32:33 -04:00
Dan Buch
8c89b2c442
Merge remote-tracking branch 'origin/master' into v2 2016-05-25 09:18:48 -04:00
Jesse Szwedko
c11b8c9158 Merge pull request #431 from urfave/clean-stringlies
Ensure flag "Name" field values are un-stringly-fied
2016-05-24 23:22:09 -07:00
595ba45e73 Merge pull request #434 from urfave/update-gfmxr-ref
Point at correct gfmxr location
2016-05-24 16:27:12 -04:00
Dan Buch
f2d92acb5d
Point at correct gfmxr location 2016-05-24 16:07:30 -04:00
403d147e41 Merge branch 'v2' into minimize-struct-copying 2016-05-24 10:31:42 -04:00
Dan Buch
2b288769c7
Add comment about commaWhitespace stripping of flag.Name 2016-05-24 04:00:37 -04:00
42bdb31055 Merge branch 'v2' into clean-stringlies 2016-05-24 03:54:50 -04:00
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
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