Add command-line option for printing version and commit info

This commit is contained in:
Joakim Frostegård 2022-03-24 16:17:17 +01:00
parent bdc719b755
commit f5b1cd5525
14 changed files with 79 additions and 5 deletions

View file

@ -26,6 +26,7 @@ const MBITS_FACTOR: f64 = 1.0 / ((1024.0 * 1024.0) / 8.0);
pub fn main() {
aquatic_cli_helpers::run_app_with_cli_and_config::<Config>(
"aquatic_http_load_test: BitTorrent load tester",
env!("CARGO_PKG_VERSION"),
run,
None,
)