Skip to content

Commit

Permalink
Add --version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Oct 5, 2024
1 parent 6a57a11 commit 49b6417
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use clap_complete::Shell;
use std::io::stdout;

#[derive(Debug, Parser)]
#[command(version)]
pub struct Args {
/// Verbose logging output (Can be set multiple times)
#[arg(short, long, global = true, action = ArgAction::Count)]
Expand Down

0 comments on commit 49b6417

Please sign in to comment.