Skip to content

Commit a6bf41e

Browse files
committed
chore: let help grow in width
1 parent 58da780 commit a6bf41e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
@Command(
4545
name = "spotless",
4646
mixinStandardHelpOptions = true,
47+
usageHelpAutoWidth = true,
4748
versionProvider = SpotlessCLIVersionProvider.class,
4849
description = "Runs spotless",
4950
synopsisSubcommandLabel = "[FORMATTING_STEPS]",

app/src/main/java/com/diffplug/spotless/cli/steps/SpotlessFormatterStep.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
import picocli.CommandLine;
2626

27-
@CommandLine.Command(mixinStandardHelpOptions = true)
27+
@CommandLine.Command(mixinStandardHelpOptions = true, usageHelpAutoWidth = true)
2828
public abstract class SpotlessFormatterStep implements SpotlessCLIFormatterStep {
2929

3030
@NotNull @Override

0 commit comments

Comments
 (0)