diff --git a/Cargo.toml b/Cargo.toml index 4cafa1ab..11d271b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ repository = "https://github.com/ethereum/eipw" [dependencies] eipw-snippets = { path = "eipw-snippets", version = "0.2.0-dev" } tokio = { version = "1.40.0", features = [ "macros" ] } -clap = { version = "4.5.18", features = [ "derive" ] } +clap = { version = "4.5.18", features = [ "derive", "cargo" ] } eipw-lint = { version = "0.10.0-dev", path = "eipw-lint", features = [ "tokio" ] } serde_json = "1.0.99" thiserror = "1.0.64" diff --git a/src/main.rs b/src/main.rs index cc7283a5..95185ed9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,6 +21,7 @@ use std::path::{Path, PathBuf}; use sysexits::ExitCode; #[derive(Debug, Parser)] +#[command(version, about)] struct Opts { /// Print the default configuration. #[clap(exclusive(true), long)]