Update dependency info.picocli:picocli to v4.6.2 #1550
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.6.1
->4.6.2
Release Notes
remkop/picocli
v4.6.2
The picocli community is pleased to announce picocli 4.6.2.
This release includes bugfixes and enhancements. Many improvements in the documentation.
Thanks to the many people in the picocli community for raising issues and contributing pull requests to fix issues!
From this release, picocli uses system properties
sun.stdout.encoding
andsun.stderr.encoding
when creating thePrintWriters
returned byCommandLine::getOut
andCommandLine::getErr
.When these system properties do not exist, picocli falls back to the default charset (determined by
file.encoding
).This addresses an issue on Windows, where the default charset is not the same as the encoding for its console (often the older
cp437
codepage on English-language versions of Windows).Note that these system properties seem to have been introduced in Java 8 (although I cannot find it in the JDK 8 release notes) and may not exist on earlier JVMs or on JVMs other than the Oracle and OpenJDK implementations.
This is the seventy-seventh public release.
Picocli follows semantic versioning.
Table of Contents
New and Noteworthy
Fixed issues
@Option
help
attribute; it is useful for custom help options. Thanks to kaushalkumar for raising this.WARNING: tag not found in include file
messages when generating man pages. Thanks to Philip Crotwell for the pull request.completionCandidates
when displaying usage help if${COMPLETION-CANDIDATES}
is not specified in description. Thanks to Wenhao ZHANG, sustc11810424 and Yining Tang for the pull request.IllegalArgumentException: argument type mismatch
error in method subcommands with inherited mixed-in standard help options. Thanks to Andreas Deininger for raising this.CommandLine
with ArgGroup. Thanks to Yashodhan Ghadge for raising this.DuplicateOptionAnnotationsException
thrown onmixinStandardHelpOptions
for subcommands when parent hasscope = INHERIT
bypicocli-codegen
annotation processor. Thanks to Philippe Charles for raising this.DuplicateOptionAnnotationsException
when parent has inherited mixed-in help options and the built-inHelpCommand
subcommand. Thanks to Andreas Deininger for raising this.IllegalArgumentException
when parent has no standard help options andscope = INHERIT
, while subcommand does have mixed-in standard help options. Thanks to Andreas Deininger for raising this.CommandSpec.remove(arg)
should also remove the arg from theargs
collection in the CommandSpec. Thanks to kaushalkumar for the pull request.sun.stdout.encoding
andsun.stderr.encoding
when creating thePrintWriters
returned byCommandLine::getOut
andCommandLine::getErr
. Thanks to Philippe Charles for the investigation and the pull request..gitattributes
should include HTML files to convert CRLF to LF. Thanks to wenhoujx for pointing this out.execute
method inRunAll
,RunFirst
andRunLast
should not be deprecated. Thanks to Gamal DeWeever for raising this.IParameterPreprocessor
fromIParameterConsumer
javadoc. Thanks to Andreas Deininger for the pull request.IParameterConsumer
as n-ary type converter. Thanks to Martin for raising this.converter
, improve text for default values. Thanks to Abhijit Sarkar for raising this.setLongOptionsMaxWidth
tosetUsageHelpLongOptionsMaxWidth
in user manual section 'Long Option Column Width'. Thanks to kunlk for raising this.picocli-shell-jline2/README.md
. Thanks to Ahmed Ashour for the pull request.MANIFEST.MF
. Thanks to Fiouz for the pull request.pom.xml
. Thanks to Fiouz for the pull request.Deprecations
No features were deprecated in this release.
The
@Option
help
attribute is no longer deprecated from this release; it is useful for custom help options.Potential breaking changes
This release has no breaking changes.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.