Skip to content

Commit

Permalink
use terminal width for usage message (hyperledger#6551)
Browse files Browse the repository at this point in the history
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
  • Loading branch information
macfarla authored Feb 9, 2024
1 parent c23eb24 commit b6a6402
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,9 @@ public int parse(

toCommandLine();

// use terminal width for usage message
commandLine.getCommandSpec().usageMessage().autoWidth(true);

handleStableOptions();
addSubCommands(in);
registerConverters();
Expand Down

0 comments on commit b6a6402

Please sign in to comment.