Skip to content

Commit

Permalink
unify across all commands
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRuhe authored and dzfranklin committed Jan 4, 2023
1 parent abb2b27 commit 02494a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ struct RunOpt {
#[clap(long)]
package: Option<String>,
#[clap(
help = r#"Space-separated options to pass to `rr record` (e.g `"--chaos -M"`). See `rr record -h`"#
long,
require_equals(true),
help = r#"Space-separated options to pass to `rr record` (e.g `--rr-opts="--chaos -M"`). See `rr record -h`"#
)]
rr_opts: Option<String>,
#[clap(last = true)]
Expand Down Expand Up @@ -93,7 +95,9 @@ struct TestOpt {
#[clap(long)]
package: Option<String>,
#[clap(
help = r#"Space-separated options to pass to `rr record` (e.g `"--chaos -M"`). See `rr record -h`"#
long,
require_equals(true),
help = r#"Space-separated options to pass to `rr record` (e.g `--rr-opts="--chaos -M"`). See `rr record -h`"#
)]
rr_opts: Option<String>,
}
Expand Down

0 comments on commit 02494a4

Please sign in to comment.