Skip to content

Commit

Permalink
clap derive fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Brian L. Troutwine <[email protected]>
  • Loading branch information
blt committed Dec 17, 2024
1 parent 15c3085 commit b12dd71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lading/src/bin/lading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,17 @@ impl FromStr for CliKeyValues {
#[clap(group(
ArgGroup::new("target")
.required(true)
.args(&["target-path", "target-pid", "target-container", "no-target"]),
.args(&["target_path", "target_pid", "target_container", "no_target"]),
))]
#[clap(group(
ArgGroup::new("telemetry")
.required(true)
.args(&["capture-path", "prometheus-addr", "prometheus-path"]),
.args(&["capture_path", "prometheus_addr", "prometheus_path"]),
))]
#[clap(group(
ArgGroup::new("experiment-duration")
.required(false)
.args(&["experiment-duration-seconds", "experiment-duration-infinite"]),
.args(&["experiment_duration_seconds", "experiment_duration_infinite"]),
))]
struct Opts {
/// path on disk to the configuration file
Expand Down

0 comments on commit b12dd71

Please sign in to comment.