From ddd9fe1525d04fe3dee1c0a40fd8a331d68929f7 Mon Sep 17 00:00:00 2001 From: Spanfile Date: Sun, 19 Jul 2020 22:19:12 +0300 Subject: [PATCH] Swap the value_name and help arguments for the multi_opt call in command_prelude/arg_target_triple --- src/cargo/util/command_prelude.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/util/command_prelude.rs b/src/cargo/util/command_prelude.rs index 7afc0cde4b9..26c5ddada4d 100644 --- a/src/cargo/util/command_prelude.rs +++ b/src/cargo/util/command_prelude.rs @@ -139,7 +139,7 @@ pub trait AppExt: Sized { } fn arg_target_triple(self, target: &'static str) -> Self { - self._arg(multi_opt("target", target, "TRIPLE")) + self._arg(multi_opt("target", "TRIPLE", target)) } fn arg_target_dir(self) -> Self {