Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xnuter committed Jun 7, 2021
1 parent 02bf666 commit 4546c22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perf-gauge"
version = "0.1.7"
version = "0.1.8"
authors = ["Eugene Retunsky"]
license = "MIT OR Apache-2.0"
edition = "2018"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ USAGE:
FLAGS:
--continuous If it's a part of a continuous run. In this case metrics are not reset at
the end to avoid saw-like plots.
-h, --help Prints help information
-V, --version Prints version information
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-c, --concurrency <CONCURRENCY> Concurrent clients. Default `1`.
Expand Down
6 changes: 3 additions & 3 deletions src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl BenchmarkConfig {
pub fn from_command_line() -> io::Result<BenchmarkConfig> {
let matches = clap_app!(myapp =>
(name: "Performance Gauge")
(version: "0.1.4")
(version: "0.1.8")
(author: "Eugene Retunsky")
(about: "A tool for gauging performance of network services")
(@arg CONCURRENCY: --concurrency -c +takes_value "Concurrent clients. Default `1`.")
Expand All @@ -60,7 +60,7 @@ impl BenchmarkConfig {
(@arg PROMETHEUS_JOB: --prometheus_job +takes_value "Prometheus Job (by default `pushgateway`)")
(@subcommand http =>
(about: "Run in HTTP(S) mode")
(version: "0.1.4")
(version: "0.1.8")
(@arg TUNNEL: --tunnel +takes_value "HTTP Tunnel used for connection, e.g. http://my-proxy.org")
(@arg IGNORE_CERT: --ignore_cert "Allow self signed certificates. Applies to the target (not proxy).")
(@arg CONN_REUSE: --conn_reuse "If connections should be re-used")
Expand Down Expand Up @@ -144,7 +144,7 @@ impl BenchmarkConfig {
.rate_ladder(rate_ladder)
.concurrency(parse_num(concurrency, "Cannot parse CONCURRENCY"))
.verbose(false)
.continuous(matches.is_present("CONN_REUSE"))
.continuous(matches.is_present("CONTINUOUS"))
.mode(BenchmarkConfig::build_mode(&matches))
.reporters(metrics_destinations)
.build()
Expand Down

0 comments on commit 4546c22

Please sign in to comment.