Skip to content

Commit

Permalink
Clarify -- in cargo run help
Browse files Browse the repository at this point in the history
Fixes #1855
  • Loading branch information
steveklabnik committed Aug 25, 2015
1 parent 176b5c1 commit a9ded68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bin/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ bin target it will be run. Otherwise `--bin` specifies the bin target to run,
and `--example` specifies the example target to run. At most one of `--bin` or
`--example` can be provided.
All of the trailing arguments are passed to the binary to run.
All of the trailing arguments are passed to the binary to run. If you're passing
arguments to both Cargo and the binary, the ones after `--` go to the binary,
the ones before go to Cargo.
";

pub fn execute(options: Options, config: &Config) -> CliResult<Option<()>> {
Expand Down

0 comments on commit a9ded68

Please sign in to comment.