Clarify -- in cargo run help
authorSteve Klabnik <steve@steveklabnik.com>
Tue, 25 Aug 2015 15:57:44 +0000 (11:57 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Tue, 25 Aug 2015 15:57:50 +0000 (11:57 -0400)
Fixes #1855

src/bin/run.rs

index 7d411056a20e3a0019eae85d86b8c332747b83c0..c1c04295886f77f341da2cc0bfdd92b587523912 100644 (file)
@@ -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<()>> {