Dan Bent
310284f8d7
close file using existing style
2019-11-08 13:56:05 +13:00
Daanikus
80fdcd65de
add missing call to file.Close()
2019-10-31 15:25:15 +13:00
lynn [they]
850de854cd
Merge pull request #896 from urfave/versioned-docs
...
Setup basic versioned docs
2019-10-23 21:26:01 -07:00
lynn [they]
a16e68e92d
Merge branch 'master' into versioned-docs
2019-10-23 21:03:27 -07:00
Audrius Butkevicius
397c7d6c1a
Merge pull request #872 from urfave/pass-through-regression
...
Fix 1.21.0 pass through regression
2019-10-22 08:14:13 +01:00
lynn [they]
04800011f9
Merge branch 'master' into pass-through-regression
2019-10-21 22:17:35 -07:00
lynn [they]
49ad3dffd0
Merge pull request #912 from rliebz/clean-help-printer
...
Simplify HelpPrinter and CustomHelpPrinter behaviors
2019-10-21 09:45:33 -07:00
Robert Liebowitz
9ab178d174
Make app help behavior consistent with commands
2019-10-17 05:50:38 -04:00
Robert Liebowitz
bab428af09
Ensure command help always prints with overridden print functions
2019-10-17 05:12:17 -04:00
lynn (they)
c30b1cf90b
Merge branch 'master' into pass-through-regression
2019-10-16 22:00:49 -07:00
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
Lynn Cyrin
89063681e4
update to latest docs
2019-10-12 01:05:32 -07:00
Lynn Cyrin
6988ce08d5
Merge remote-tracking branch 'origin/master' into versioned-docs
2019-10-12 01:01:54 -07:00
Lynn Cyrin (they/them)
9b0f38824e
add usage documentation links
2019-10-12 00:59:50 -07:00
Lynn Cyrin (they/them)
3cf1eb69b9
update import path
2019-10-12 00:54:37 -07:00
Lynn Cyrin (they/them)
0b26e2fa44
update install path
2019-10-12 00:54:09 -07: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)
8be7bc46c4
Merge branch 'master' into pass-through-regression
2019-10-01 20:53:47 -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
Lynn Cyrin
64d3555482
trim whitespace
2019-10-01 20:21:12 -07:00
Lynn Cyrin
be0cc4b871
add a check
2019-10-01 20:18:53 -07:00
Lynn Cyrin
51259808ff
better leading dash handling
2019-10-01 20:13:04 -07:00
Lynn Cyrin
d7af48525e
Merge branch 'pass-through-regression' of https://github.com/urfave/cli into pass-through-regression
2019-10-01 19:55:14 -07:00
Lynn Cyrin (they/them)
aac6dd4459
Merge branch 'master' into pass-through-regression
2019-10-01 19:47:33 -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
Lynn Cyrin
7b94268970
Revert "test ci"
...
This reverts commit 0e915773a9
.
2019-09-15 22:09:31 -07:00
Lynn Cyrin
0e915773a9
test ci
2019-09-15 22:02:58 -07:00
Lynn Cyrin
5646b9ecb8
update test paths
2019-09-15 21:48:54 -07:00
Lynn Cyrin
ebc25651f0
add filename handling
2019-09-15 21:21:52 -07:00
Lynn Cyrin
7584ed171f
bump ci
2019-09-15 21:03:42 -07:00
Lynn Cyrin
43f9b3ff1c
setup versioned docs
2019-09-15 20:41:43 -07:00
Lynn Cyrin (they/them)
41eb645fa2
Merge branch 'master' into pass-through-regression
2019-09-15 11:57:12 -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
Lynn Cyrin (they/them)
72c249389c
Update command.go
2019-09-13 07:35:16 -07:00
Lynn Cyrin (they/them)
3f6f97754a
Update command.go
...
Co-Authored-By: Sascha Grunert <sgrunert@suse.com>
2019-09-13 07:27:16 -07:00
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
Lynn Cyrin
bfdd794eb3
docs
2019-09-11 23:05:26 -07:00
Lynn Cyrin
6da413ad82
fix go version support?
2019-09-11 22:45:51 -07:00
Lynn Cyrin
223e21796c
swap a test case
2019-09-11 21:08:52 -07:00
Lynn Cyrin
09cdbbfe28
more docs
2019-09-11 20:29:31 -07:00