From a9ded684eefcd00f1675e1a228ac56255149f287 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Tue, 25 Aug 2015 11:57:44 -0400 Subject: [PATCH] Clarify -- in cargo run help Fixes #1855 --- src/bin/run.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/run.rs b/src/bin/run.rs index 7d411056a20..c1c04295886 100644 --- 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> {