Skip to content

Commit

Permalink
Merge pull request #9 from uncenter/fix/no-arg-help
Browse files Browse the repository at this point in the history
  • Loading branch information
Noxyntious authored May 30, 2024
2 parents 065de6c + fff1bbe commit a7062ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use rand::Rng;
use clap::Parser;

#[derive(Parser)]
#[command(version, about)]
#[command(version, about, arg_required_else_help(true))]
struct Cli {
count: i32,
}
Expand Down

0 comments on commit a7062ce

Please sign in to comment.