Skip to content

Commit c4ba70f

Browse files
committed
clap derive fixes
Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
1 parent 7d7e1b6 commit c4ba70f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lading/src/bin/lading.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,17 +130,17 @@ impl FromStr for CliKeyValues {
130130
#[clap(group(
131131
ArgGroup::new("target")
132132
.required(true)
133-
.args(&["target-path", "target-pid", "target-container", "no-target"]),
133+
.args(&["target_path", "target_pid", "target_container", "no_target"]),
134134
))]
135135
#[clap(group(
136136
ArgGroup::new("telemetry")
137137
.required(true)
138-
.args(&["capture-path", "prometheus-addr", "prometheus-path"]),
138+
.args(&["capture_path", "prometheus_addr", "prometheus_path"]),
139139
))]
140140
#[clap(group(
141141
ArgGroup::new("experiment-duration")
142142
.required(false)
143-
.args(&["experiment-duration-seconds", "experiment-duration-infinite"]),
143+
.args(&["experiment_duration_seconds", "experiment_duration_infinite"]),
144144
))]
145145
struct Opts {
146146
/// path on disk to the configuration file

0 commit comments

Comments
 (0)