From 2160c1155459e5a5702747a423e4743896cdf8cc Mon Sep 17 00:00:00 2001 From: Sally MacFarlane Date: Wed, 14 Feb 2024 09:03:41 +1000 Subject: [PATCH] add profile info to help footer (#6493) * add profile info to footer Signed-off-by: Sally MacFarlane --------- Signed-off-by: Sally MacFarlane --- .../main/java/org/hyperledger/besu/cli/BesuCommand.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java b/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java index 0d252d203f5..201568ac8fd 100644 --- a/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java +++ b/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java @@ -255,8 +255,12 @@ synopsisHeading = "%n", descriptionHeading = "%n@|bold,fg(cyan) Description:|@%n%n", optionListHeading = "%n@|bold,fg(cyan) Options:|@%n", - footerHeading = "%n", - footer = "Besu is licensed under the Apache License 2.0") + footerHeading = "%nBesu is licensed under the Apache License 2.0%n", + footer = { + "%n%n@|fg(cyan) To get started quickly, just choose a network to sync and a profile to run with suggested defaults:|@", + "%n@|fg(cyan) for Mainnet|@ --network=mainnet --profile=[minimalist_staker|staker]", + "%nMore info and other profiles at https://besu.hyperledger.org%n" + }) public class BesuCommand implements DefaultCommandValues, Runnable { @SuppressWarnings("PrivateStaticFinalLoggers")