From adf81a73b719eb968a512d6d6eafe255f2962b36 Mon Sep 17 00:00:00 2001 From: Rick Weber Date: Mon, 4 Apr 2022 11:02:56 -0700 Subject: [PATCH] Fixup changes from master --- src/cmd/test.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cmd/test.rs b/src/cmd/test.rs index 99a3112f..eb30e684 100644 --- a/src/cmd/test.rs +++ b/src/cmd/test.rs @@ -40,19 +40,19 @@ pub fn make_subcommand<'help>() -> App<'help> { .multiple_occurrences(true) .forbid_empty_values(true) .help("A comma-separated list of directories to add to {n}the crate search path when building tests")) - .arg(Arg::with_name("extern") + .arg(Arg::new("extern") .long("extern") .value_name("file") .takes_value(true) .require_delimiter(false) - .multiple(true) - .empty_values(false) + .multiple_values(true) + .multiple_occurrences(true) + .forbid_empty_values(false) .help(EXTERN_HELP)) - .arg(Arg::with_name("verbose") + .arg(Arg::new("verbose") .long("verbose") - .short("v") + .short('v') .takes_value(false) - .multiple(false) .help("Enables verbose logging with the test command.")) }