Skip to content

Commit 06b6704

Browse files
committed
Auto merge of #1933 - steveklabnik:gh1855, r=alexcrichton
Fixes #1855
2 parents 176b5c1 + a9ded68 commit 06b6704

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bin/run.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ bin target it will be run. Otherwise `--bin` specifies the bin target to run,
4343
and `--example` specifies the example target to run. At most one of `--bin` or
4444
`--example` can be provided.
4545
46-
All of the trailing arguments are passed to the binary to run.
46+
All of the trailing arguments are passed to the binary to run. If you're passing
47+
arguments to both Cargo and the binary, the ones after `--` go to the binary,
48+
the ones before go to Cargo.
4749
";
4850

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

0 commit comments

Comments
 (0)