projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
176b5c1
)
Clarify -- in cargo run help
author
Steve Klabnik
<steve@steveklabnik.com>
Tue, 25 Aug 2015 15:57:44 +0000
(11:57 -0400)
committer
Steve Klabnik
<steve@steveklabnik.com>
Tue, 25 Aug 2015 15:57:50 +0000
(11:57 -0400)
Fixes #1855
src/bin/run.rs
patch
|
blob
|
history
diff --git
a/src/bin/run.rs
b/src/bin/run.rs
index 7d411056a20e3a0019eae85d86b8c332747b83c0..c1c04295886f77f341da2cc0bfdd92b587523912 100644
(file)
--- a/
src/bin/run.rs
+++ b/
src/bin/run.rs
@@
-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<()>> {