Skip to content

Commit

Permalink
Merge pull request #720 from stmcginnis/version
Browse files Browse the repository at this point in the history
tuftool: Add --version option
  • Loading branch information
stmcginnis authored Nov 16, 2023
2 parents 73a98bd + d3a405e commit 08651d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tuftool/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ static SPEC_VERSION: &str = "1.0.0";

/// This wrapper enables global options and initializes the logger before running any subcommands.
#[derive(Parser)]
#[command(version)]
struct Program {
/// Set logging verbosity [trace|debug|info|warn|error]
#[clap(name = "log-level", short, long, default_value = "info")]
Expand Down

0 comments on commit 08651d6

Please sign in to comment.