Skip to content

Commit

Permalink
fix: fix example for duration in help text (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
BendingBender authored Jan 24, 2025
1 parent 12a5dc5 commit f00f83f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
//!
//! When set, benchmark stops after reaching the duration.
//!
//! Examples: -z 10s, -z 5m, -z 1h
//! Examples: -d 10s, -d 5m, -d 1h
//!
//! -r, --rate <RATE>
//! Rate limit for benchmarking, in iterations per second (ips)
Expand Down Expand Up @@ -132,7 +132,7 @@ pub struct BenchCli {
///
/// When set, benchmark stops after reaching the duration.
///
/// Examples: -z 10s, -z 5m, -z 1h
/// Examples: -d 10s, -d 5m, -d 1h
#[clap(long, short = 'd')]
pub duration: Option<humantime::Duration>,

Expand Down

0 comments on commit f00f83f

Please sign in to comment.