Commit Graph

650 Commits

Author SHA1 Message Date
Tianon Gravi
a121e978f7 Switch "printHelp" tabwriter padchar to space
Using tabs for alignment is troubling if the output is used for anything besides display in a terminal (or if the user's terminal allows for adjustment of the default tab size), as noted by the documentation for `tabwriter` (https://golang.org/pkg/text/tabwriter/#Writer.Init):

> (for correct-looking results, tabwidth must correspond to the tab width in the viewer displaying the result)

The safer solution is to use `' '` as the `padchar`, which only carries the assumption of a fixed-width font (which is a more reasonable assumption than a fixed, constant tab size).
2016-06-01 15:27:03 -07:00
Dan Buch
b5c48311fa
Ensure the full API example really runs 2016-06-01 14:06:51 -04:00
Dan Buch
1c81757e1f
Add more v1 API examples 2016-06-01 13:28:27 -04:00
1433f8165e Merge pull request #442 from urfave/appveyor-badge
Update appveyor badge URL
2016-06-01 11:00:42 -04:00
Dan Buch
0990e4b2ad
Update appveyor badge URL
to point to new team name
2016-06-01 10:46:39 -04:00
ddb6f44179 Merge pull request #440 from urfave/more-v1-examples
Enable more examples as runnable in README
2016-06-01 09:49:21 -04:00
Dan Buch
41310fbe1b
Enable more examples as runnable in README
so that they can be verified by the migrator script over in the v2 branch.
2016-05-31 15:49:48 -04:00
9a18ffad6c Merge pull request #437 from urfave/formarlly
TRIVIAL formally -> formerly
2016-05-27 14:54:26 -04:00
c455f5c3ec TRIVIAL formally -> formerly 2016-05-27 14:48:19 -04: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
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
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
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
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
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
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
0eb4e0be6c TRIVIAL removal of extra "current" 2016-05-17 03:33:51 -04:00
3a52a3b812 Merge pull request #411 from codegangsta/v2-docs
Version pinning docs
2016-05-16 11:01:49 -04:00
Dan Buch
61e5e9362f
Clarify state of v1 branch 2016-05-16 10:48:21 -04:00
Dan Buch
8af550936f
Add another bit about pinning to v1 2016-05-16 10:46:43 -04:00
Dan Buch
1beb5f66cd
Add some docs about the v2 branch 2016-05-16 10:43:05 -04:00
Jesse Szwedko
7f0ca9a349 Merge pull request #404 from codegangsta/runtests-argparse
Use argparse in runtests
2016-05-10 21:09:50 -07:00
Jesse Szwedko
92897b9bf6 Updating coverage badges 2016-05-10 20:42:38 -07:00
Jesse Szwedko
152e6ca11a Merge pull request #407 from codegangsta/coverage-breakout
Separate badges for package coverage
2016-05-10 20:39:12 -07:00
Dan Buch
50b384d904
Separate badges for package coverage 2016-05-10 14:51:27 -04:00
Jesse Szwedko
f7b459e346 Merge pull request #406 from codegangsta/command-alias-help
Fix command alias printing in help text
2016-05-10 10:56:23 -07:00
Dan Buch
6f3bb94eae
Correct assertion text 2016-05-10 13:51:54 -04:00
Dan Buch
b9d96954ca
Fix command alias printing in help text
Closes #405
2016-05-10 13:41:43 -04:00
de28b8426b Merge pull request #403 from codegangsta/changelog-tweak
Move the `./runtests` changelog entry to up `Unreleased`
2016-05-10 08:17:27 -04:00
Dan Buch
1398157654
Use argparse in runtests
like Zeus intended
2016-05-10 08:16:33 -04:00
Dan Buch
33f5de5f18
Move the ./runtests changelog entry to up Unreleased 2016-05-10 08:09:27 -04:00
Jesse Szwedko
9f09b40642 Merge pull request #400 from codegangsta/coverage
Add a vet/test runner script with coverage on by default
2016-05-09 22:16:32 -07:00
Dan Buch
2b4b13096f
Merge remote-tracking branch 'origin/master' into coverage 2016-05-09 18:53:45 -04:00
01857ac337 Merge pull request #402 from codegangsta/v1.17.0-prep
Preparing for v1.17.0 release
2016-05-09 11:13:33 -04:00
Dan Buch
2fcbd9d729
Preparing for v1.17.0 release 2016-05-09 10:52:31 -04:00
1d47addf28 Merge pull request #401 from mattfarina/cleanup
Code cleanup from Go Report Card
2016-05-09 10:45:19 -04:00