Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@heewa
Copy link
Contributor

@heewa heewa commented Feb 16, 2016

This fixes an issue that causes both 'github.com/alecthomas/kingpin' and
'gopkg.in/alecthomas/kingpin.v2' to be dependencies when using kingpin.

This fixes an issue that causes both 'github.com/alecthomas/kingpin' and
'gopkg.in/alecthomas/kingpin.v2' to be dependencies when using kingpin.
alecthomas added a commit that referenced this pull request Feb 17, 2016
gzdunek pushed a commit to gravitational/kingpin that referenced this pull request May 10, 2023
gzdunek added a commit to gravitational/kingpin that referenced this pull request May 10, 2023
* Fix readme instructions for generating man page

(cherry picked from commit b73c9f5)

* Prevent examples from pulling in dependencies.

Fixes alecthomas#105.

(cherry picked from commit 8cccfa8)

* Add completions to Args

(cherry picked from commit 0b7f974)

* Complete specifically the current arg based on pos

(cherry picked from commit 043e8ec)

* Handle completion when there are default cmds

(cherry picked from commit d5ac1f2)

* Update examples link in README.md

(cherry picked from commit 52a760e)

* Remove some dead code.

(cherry picked from commit f782cbb)

* Add EnvVar support to Arg (copied from Flag)

(cherry picked from commit 62df01d)

* Remove Unsetenv because it was added in a more recent version of go and add missing with envar error test case

(cherry picked from commit a1b275e)

* Factor out envar functionality from flags and args into a mixin

(cherry picked from commit 71d9a69)

* Hide hidden cmds from completion

(cherry picked from commit 445c48d)

* Spelling fix in README.md

(cherry picked from commit 3b1b63e)

* support bool flags with `no-` prefix without any special handling

(cherry picked from commit b8ae8c2)

* When --help is found, re-parse the command line ignoring defaults.

Fixes alecthomas#126.

(cherry picked from commit 30de531)

* Switch to Travis SVG badge, pinned on master

(cherry picked from commit 55dccb2)

* Fix usage code block indentation issue.

(cherry picked from commit 92b2733)

* --help exits with 0 (fixes alecthomas#136), added UsageWriter() and ErrorWriter() (fixes alecthomas#137)

These writer functions should be preferred over .Writer().

(cherry picked from commit 9f68dc0)

---------

Co-authored-by: Heewa Barfchin <[email protected]>
Co-authored-by: Alec Thomas <[email protected]>
Co-authored-by: gonsalu <[email protected]>
Co-authored-by: Gordon Goetz <[email protected]>
Co-authored-by: Reina Abolofia <[email protected]>
Co-authored-by: Brice Jaglin <[email protected]>
Co-authored-by: Dan Buch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant