Skip to content

Commit

Permalink
Swap the value_name and help arguments for the multi_opt call in comm…
Browse files Browse the repository at this point in the history
…and_prelude/arg_target_triple
  • Loading branch information
Spanfile committed Jul 19, 2020
1 parent f84f3f8 commit ddd9fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/util/command_prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ddd9fe1

Please sign in to comment.