jszwedko
01cdaa065a
Merge remote-tracking branch 'origin/master' into add-multi-author-support
...
Conflicts:
app.go
2015-03-09 19:20:56 -07:00
jszwedko
50c77ecec0
Fix comments for .After field on Command and App
2015-02-20 16:23:36 -05:00
Jesse Szwedko
532d0bc2e3
Merge pull request #151 from imdario/master
...
After: companion action for Before
2015-02-20 16:20:12 -05:00
Jesse Szwedko
6086d7927e
Merge pull request #177 from vishalsodani/master
...
Fix sentence
2015-01-30 19:12:59 -08:00
Jesse Szwedko
e1712f3817
Merge pull request #170 from codegangsta/parse-flags-regardless
...
Use parsed context when running command as subcommnd
2015-01-27 21:16:17 -08:00
jszwedko
5159b98cbc
Use parsed context when running command as subcommnd
...
Rather than passing the unparsed context (parent context) in whenever
there are no subcommands.
2015-01-09 14:46:29 -05:00
Jesse Szwedko
bf4a526f48
Merge pull request #157 from dajulia3/pull_request
...
stop flag parsing after terminator --
2015-01-09 14:04:33 -05:00
jszwedko
44d40054fa
Use 0 as the base when parsing ints
...
To be consistent with what the stdlib flag package does.
2015-01-09 13:10:42 -05:00
Jesse Szwedko
3005aa4907
Merge pull request #168 from szaydel/fixParseUint-Flag
...
strconv.ParseInt should be used instead of strconv.ParseUint when readin...
2015-01-09 13:10:19 -05:00
jszwedko
059c02782a
Use double quotes in output for defaults
...
Windows doesn't recognize 's for wrapping values. "s should work on all
systems.
2015-01-08 15:35:23 -05:00
jszwedko
22dbe6ffdc
Fix help text for generic flag to not insinuate that you can specify multiple
...
Feels like it may have been copied from StringSliceFlag or something,
but update the output to be more consistent with other single value
flags.
Also added comments to the String and Apply functions.
2015-01-08 14:27:09 -05:00
Jesse Szwedko
e7849f9239
Merge pull request #128 from nbjahan/patch-1
...
Fixed ShowSubcommandHelp
2014-12-11 20:37:53 -05:00
jszwedko
69b84ea804
Renaming fakeWriter to mockWriter for consistency
2014-12-10 10:33:59 -05:00
Jesse Szwedko
fbda1ce02d
Merge pull request #141 from meatballhat/multi-env-var
...
Adding support for multiple env var "cascade"
2014-12-03 16:09:45 -05:00
jszwedko
e72094e6a4
Prefer fmt.Fprint* functions over io.WriteString
...
Less composition needed.
2014-12-01 23:57:35 -05:00
jszwedko
b8c8282de5
Merge remote-tracking branch 'origin/master' into allow-writer-to-be-set
...
Conflicts:
app.go
help.go
2014-12-01 23:51:35 -05:00
jszwedko
0d4870d63e
Rename Stdout -> Writer
2014-12-01 23:50:04 -05:00
jszwedko
780f839a02
Allow hiding of help flag without hiding help subcommand
...
By utilizing struct zero value
2014-12-01 23:21:22 -05:00
Jesse Szwedko
229729fae6
Merge pull request #150 from kytrinyx/readme-example
...
Clarify example in README. Fixes #149
2014-11-13 13:20:49 -05:00
Jesse Szwedko
61f43e7695
Merge pull request #147 from peterbourgon/master
...
Make -v, --version optional
2014-11-12 09:51:28 -05:00
Jesse Szwedko
7381bc4e62
Merge pull request #134 from Zearin/patch-1
...
Minor README tweaks
2014-08-27 20:51:55 -04:00
jszwedko
9e5f47524b
Run go vet as part of Travis build
2014-07-14 13:48:52 -04:00
jszwedko
c99454b374
Adding struct field names to examples in README
...
Idiomatic Go
2014-07-11 18:17:30 -04:00
jszwedko
bcfb32b8b0
Updating tests to pass go vet
...
Mostly lack of struct field names in literals and one sprintf format
specifier mismatch.
2014-07-11 18:16:19 -04:00