Skip to content

Commit 8eb720d

Browse files
committed
chore: cleanup help options
(already included with mixin)
1 parent ecbc886 commit 8eb720d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cli/src/main/java/com/diffplug/spotless/cli/SpotlessCLI.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@
4646
GoogleJavaFormat.class})
4747
public class SpotlessCLI implements SpotlessAction, SpotlessCommand, SpotlessActionContextProvider {
4848

49-
@CommandLine.Option(names = {"-V", "--version"}, versionHelp = true, description = "Print version information and exit.")
50-
boolean versionRequested;
51-
52-
@CommandLine.Option(names = {"-h", "--help"}, usageHelp = true, description = "Display this help message and exit.")
53-
boolean usageHelpRequested;
54-
5549
@CommandLine.Option(names = {"--mode", "-m"}, defaultValue = "APPLY", description = "The mode to run spotless in." + OptionConstants.VALID_VALUES_SUFFIX + OptionConstants.DEFAULT_VALUE_SUFFIX, scope = CommandLine.ScopeType.INHERIT)
5650
SpotlessMode spotlessMode;
5751

0 commit comments

Comments
 (0)