From 02494a4187531a5c0f2f1a9b494abcfc5a13b0bf Mon Sep 17 00:00:00 2001 From: jakob Date: Wed, 4 Jan 2023 15:59:10 +0100 Subject: [PATCH] unify across all commands --- src/main.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index fe5b7df..7d183a8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -49,7 +49,9 @@ struct RunOpt { #[clap(long)] package: Option, #[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, #[clap(last = true)] @@ -93,7 +95,9 @@ struct TestOpt { #[clap(long)] package: Option, #[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, }