Skip to content

Commit ddd9fe1

Browse files
committed
Swap the value_name and help arguments for the multi_opt call in command_prelude/arg_target_triple
1 parent f84f3f8 commit ddd9fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/command_prelude.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ pub trait AppExt: Sized {
139139
}
140140

141141
fn arg_target_triple(self, target: &'static str) -> Self {
142-
self._arg(multi_opt("target", target, "TRIPLE"))
142+
self._arg(multi_opt("target", "TRIPLE", target))
143143
}
144144

145145
fn arg_target_dir(self) -> Self {

0 commit comments

Comments
 (0)