fix: Restore --help flag in iox_data_generator

pull/24376/head
Carol (Nichols || Goulding) 2022-10-07 17:02:56 -04:00
parent 627f617284
commit 63a4a1051a
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
1 changed files with 9 additions and 1 deletions

View File

@ -48,7 +48,15 @@ Logging:
RUST_LOG=iox_data_generator=info iox_data_generator -s spec.toml -o lp
"#,
author,
version
version,
disable_help_flag = true,
arg(
clap::Arg::new("help")
.long("help")
.help("Print help information")
.action(clap::ArgAction::Help)
.global(true)
),
)]
struct Config {
/// Path to the specification TOML file describing the data generation