Skip to content

Commit

Permalink
[#1472] annproc option -Averbose=true no longer triggers unsupporte…
Browse files Browse the repository at this point in the history
…d option warning

Closes #1472
  • Loading branch information
remkop committed Jan 18, 2022
1 parent ed222fe commit 432b21d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Picocli follows [semantic versioning](http://semver.org/).

## <a name="4.6.3-fixes"></a> Fixed issues
* [#1440] Bugfix: annotation processor incorrectly failed with `DuplicateOptionAnnotationsException` when multiple commands had a subcommand in common and an inherited (`scope = ScopeType.INHERIT`) option. Thanks to [nemetsSY](https://github.com/nemetsSY) for raising this.
* [#1472] Bugfix: annotation processor option `-Averbose=true` no longer incorrectly triggers `warning: The following options were not recognized by any processor: '[verbose]'`. Thanks to [Lorenz Leutgeb](https://github.com/lorenzleutgeb) for raising this.
* [#1384][#1493] Bugfix: parser now correctly handles ArgGroups with optional positional parameters. Thanks to [Matthew Lewis](https://github.com/mattjlewis) for raising this and to [Kurt Kaiser](https://github.com/kurtkaiser) for the pull request.
* [#1474] Bugfix: Avoid `UnsupportedCharsetException: cp65001` on Microsoft Windows console when code page is set to UTF-8. Thanks to [epuni](https://github.com/epuni) for raising this.
* [#1466][#1467] Bugfix/Enhancement: Autocomplete now shows subcommand aliases in the completion candidates. Thanks to [Ruud Senden](https://github.com/rsenden) for the pull request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,21 @@
import javax.annotation.processing.ProcessingEnvironment;
import javax.annotation.processing.SupportedOptions;

import static picocli.codegen.aot.graalvm.processor.ProxyConfigGen.OPTION_INTERFACE_CLASSES;
import static picocli.codegen.aot.graalvm.processor.ResourceConfigGen.OPTION_BUNDLES;
import static picocli.codegen.aot.graalvm.processor.ResourceConfigGen.OPTION_RESOURCE_REGEX;

/**
* @see ReflectionConfigGenerator
* @see ResourceConfigGenerator
* @see DynamicProxyConfigGenerator
* @since 4.0
*/
@SupportedOptions({NativeImageConfigGeneratorProcessor.OPTION_PROJECT,
OPTION_BUNDLES,
OPTION_RESOURCE_REGEX,
OPTION_INTERFACE_CLASSES,
ReflectConfigGen.OPTION_DISABLE,
ResourceConfigGen.OPTION_DISABLE,
ProxyConfigGen.OPTION_DISABLE,
@SupportedOptions({
AbstractGenerator.OPTION_VERBOSE,
NativeImageConfigGeneratorProcessor.OPTION_PROJECT,
ReflectConfigGen.OPTION_DISABLE,
ResourceConfigGen.OPTION_BUNDLES,
ResourceConfigGen.OPTION_DISABLE,
ResourceConfigGen.OPTION_RESOURCE_REGEX,
ProxyConfigGen.OPTION_DISABLE,
ProxyConfigGen.OPTION_INTERFACE_CLASSES,
})
public class NativeImageConfigGeneratorProcessor extends AbstractCompositeGeneratorProcessor {
/**
Expand Down

0 comments on commit 432b21d

Please sign in to comment.