Commit Graph

1176 Commits

Author SHA1 Message Date
Robert Liebowitz
a14194aa33 Improve documentation for HelpPrinter/HelpPrinterCustom 2019-10-16 07:57:33 -04:00
Robert Liebowitz
b52cca036a Simplify duplicated function call 2019-10-16 07:24:21 -04:00
Robert Liebowitz
e2a8dfe314 Decouple help printer for custom templates 2019-10-16 07:17:13 -04:00
Audrius Butkevicius
a221e662f1
Merge pull request #911 from rliebz/fix/infinite-parse
Fix infinite loop when parsing invalid flags for apps with short option handling
2019-10-12 18:55:02 +02:00
Robert Liebowitz
f5306b622f Ensure infinite loop cannot occur in parsing 2019-10-11 23:00:48 -04:00
Robert Liebowitz
df740f6562 Fix infinite loop flag parsing with short options 2019-10-11 23:00:45 -04:00
Lynn Cyrin (they/them)
8dcb75dc06
Merge pull request #909 from atc0005/fix-small-typo
README: Fix small typo in example description
2019-10-10 12:35:04 -07:00
Adam Chalkley
ca3fdc5252 README: Fix small typo in example description 2019-10-10 12:58:50 -05:00
Lynn Cyrin (they/them)
2794317417
Merge pull request #906 from gnowxilef/master
fix zsh autocomplete
2019-10-08 20:53:06 -07:00
Felix Wong
e19c344a35
fix zsh autocomplete 2019-10-06 01:58:51 -07:00
Lynn Cyrin (they/them)
63cd2e3d6b
Merge pull request #902 from benmoose/patch-1
Fix typo in DocGenerationFlag.TakesValue() docstring
2019-10-01 20:38:21 -07:00
Ben Hadfield
d509d6b4f4
fix typo in flag.go docstring 2019-09-28 19:03:00 +01:00
Lynn Cyrin (they/them)
6b59274855
Merge pull request #898 from urfave/lynncyrin-patch-1
Copy appveyor changes from the V2 PR
2019-09-19 12:40:55 -07:00
Lynn Cyrin (they/them)
9072b3f9a5
Copy appveyor changes from the V2 PR
Copied from https://github.com/urfave/cli/pull/892/
2019-09-18 00:15:07 -07:00
Ajitem Sahasrabuddhe
c0c49a10ad
Merge pull request #893 from rliebz/fs-panic
Avoid panic for missing flag value
2019-09-14 15:35:52 +05:30
Robert Liebowitz
06e3d38d88 Avoid panic for missing flag value
Currently, in cases where a flag value is required but not passed and
short-option handling is enabled, a panic will occur due to a nil
pointer dereference. This prevents that situation from occurring,
instead propagating the appropriate error.
2019-09-13 06:11:09 -04:00
Ajitem Sahasrabuddhe
c71fbcefd2
Merge pull request #887 from urfave/asahasrabuddhe-patch-1
Release 1.22.1
2019-09-12 05:35:50 +05:30
Ajitem Sahasrabuddhe
ef47250cda
Merge branch 'master' into asahasrabuddhe-patch-1 2019-09-12 05:19:58 +05:30
Ajitem Sahasrabuddhe
61f3ae353b
Merge pull request #890 from urfave/issue-878
Fix #878
2019-09-12 05:19:33 +05:30
Ajitem Sahasrabuddhe
fa858dcc26
Ensure flag is not blank 2019-09-11 15:10:14 +05:30
Ajitem Sahasrabuddhe
f8bb66ae7d
Fix Typo 2019-09-11 14:42:38 +05:30
Ajitem Sahasrabuddhe
056aef13fe
Merge branch 'issue-878' of https://github.com/urfave/cli into issue-878 2019-09-11 14:37:06 +05:30
Ajitem Sahasrabuddhe
c6ee3b4904
Use iterative logic to determine missing flag 2019-09-11 14:34:41 +05:30
Ajitem Sahasrabuddhe
82a84fc187
Merge branch 'master' into issue-878 2019-09-11 14:17:11 +05:30
Ajitem Sahasrabuddhe
1547ac2f6a
Modify variable names 2019-09-11 14:15:20 +05:30
Ajitem Sahasrabuddhe
388c2dd0f4
Merge pull request #891 from saschagrunert/fish-hidden
Don't generate fish completion for hidden commands
2019-09-11 14:13:40 +05:30
Ajitem Sahasrabuddhe
71eaf37e33
Update CHANGELOG.md 2019-09-11 14:09:50 +05:30
Ajitem Sahasrabuddhe
6d888d693d
Merge branch 'master' into fish-hidden 2019-09-11 14:04:44 +05:30
Ajitem Sahasrabuddhe
e19126a819
Merge pull request #883 from urfave/remove-flag-generation
Remove flag generation
2019-09-11 14:01:44 +05:30
Sascha Grunert
bac5bde38c
Don't generate fish completion for hidden commands
Added the missing test case as well.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-09-11 09:09:39 +02:00
Ajitem Sahasrabuddhe
36cdaa9964
Update CHANGELOG.md 2019-09-11 10:34:00 +05:30
Ajitem Sahasrabuddhe
cbb9e015b8
Improve Code and Add Test Case 2019-09-11 09:21:45 +05:30
Ajitem Sahasrabuddhe
7d6a604106
Fix #878 2019-09-11 08:59:51 +05:30
Ajitem Sahasrabuddhe
be37c2cbda
Merge branch 'master' into asahasrabuddhe-patch-1 2019-09-11 08:27:45 +05:30
Ajitem Sahasrabuddhe
35eb598d43
Merge branch 'master' into remove-flag-generation 2019-09-11 05:39:35 +05:30
Ajitem Sahasrabuddhe
0aee120c32
Update CHANGELOG.md 2019-09-11 05:37:41 +05:30
Ajitem Sahasrabuddhe
5c019b10ca
Update CHANGELOG.md 2019-09-11 05:33:46 +05:30
Audrius Butkevicius
b207e20873
Merge pull request #889 from crosbymichael/hidden-man
Don't output hidden commands for  man pages
2019-09-10 21:28:35 +01:00
Michael Crosby
487be14dce Don't output hidden commands for man pages
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-09-10 13:49:11 -04:00
Ajitem Sahasrabuddhe
85755588ac
Merge branch 'master' into remove-flag-generation 2019-09-10 15:04:12 +05:30
Audrius Butkevicius
249cb33392
Merge pull request #885 from urfave/go-modules-support
Go modules support
2019-09-10 08:28:09 +01:00
Ajitem Sahasrabuddhe
abfb13b854
Merge branch 'master' into go-modules-support 2019-09-10 06:56:41 +05:30
Ajitem Sahasrabuddhe
054fbefec3
Update CHANGELOG.md 2019-09-10 06:42:34 +05:30
Ajitem Sahasrabuddhe
534d60bb9b
Bump minimum supported version of Go to 1.11 2019-09-10 06:40:45 +05:30
Ajitem Sahasrabuddhe
024692c172
Merge branch 'master' into remove-flag-generation 2019-09-10 06:33:21 +05:30
Ajitem Sahasrabuddhe
bfe2e925cf
Merge pull request #882 from urfave/lynncyrin-patch-1
Release 1.22.0
2019-09-10 06:24:10 +05:30
Ajitem Sahasrabuddhe
426e21c150
Update .travis.yml
Set GOPROXY in Travis environment
2019-09-10 06:18:23 +05:30
Ajitem Sahasrabuddhe
39bd617664
Cleanup after before_script to avoid git diff errors
remove windows build
2019-09-10 06:18:11 +05:30
Ajitem Sahasrabuddhe
edbf66c25c
Update gfmrun import command to suite Go Modules pattern
Fix test command typo in travis script
2019-09-10 06:17:58 +05:30
Ajitem Sahasrabuddhe
afd0ecbbf2
Add support for Go 1.13
Drop support for Go 1.11
Use md2man v2 to avoid dependency issues when building with Go Modules
Enabled
Update TravisCI build environment images (trusty was deprecated)
Add optional Windows build
2019-09-10 06:17:39 +05:30