diff --git a/anvil/src/anvil.rs b/anvil/src/anvil.rs index af3c457440fb..fb4c8549e594 100644 --- a/anvil/src/anvil.rs +++ b/anvil/src/anvil.rs @@ -4,7 +4,7 @@ use clap::{CommandFactory, Parser, Subcommand}; /// A fast local Ethereum development node. #[derive(Debug, Parser)] -#[clap(name = "anvil", version = anvil::VERSION_MESSAGE)] +#[clap(name = "anvil", version = anvil::VERSION_MESSAGE, next_display_order = None)] pub struct App { #[clap(flatten)] pub node: NodeArgs, diff --git a/cli/src/opts/cast.rs b/cli/src/opts/cast.rs index a33c697af0cf..ce33d1a15c25 100644 --- a/cli/src/opts/cast.rs +++ b/cli/src/opts/cast.rs @@ -24,9 +24,9 @@ pub struct Opts { #[derive(Debug, Subcommand)] #[clap( about = "Perform Ethereum RPC calls from the comfort of your command line.", - after_help = "Find more information in the book: http://book.getfoundry.sh/reference/cast/cast.html" + after_help = "Find more information in the book: http://book.getfoundry.sh/reference/cast/cast.html", + next_display_order = None )] - pub enum Subcommands { #[clap(name = "--max-int")] #[clap(visible_aliases = &["max-int", "maxi"])] diff --git a/cli/src/opts/forge.rs b/cli/src/opts/forge.rs index 00168091bbba..8a8983ea0497 100644 --- a/cli/src/opts/forge.rs +++ b/cli/src/opts/forge.rs @@ -34,7 +34,8 @@ pub struct Opts { #[derive(Debug, Subcommand)] #[clap( about = "Build, test, fuzz, debug and deploy Solidity contracts.", - after_help = "Find more information in the book: http://book.getfoundry.sh/reference/forge/forge.html" + after_help = "Find more information in the book: http://book.getfoundry.sh/reference/forge/forge.html", + next_display_order = None )] #[allow(clippy::large_enum_variant)] pub enum Subcommands {