Skip to content

Commit

Permalink
Add version and about to --help
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWilsn committed Oct 18, 2024
1 parent 8fab180 commit 2fbefe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 2fbefe1

Please sign in to comment.