From: bors Date: Tue, 20 Mar 2018 00:38:44 +0000 (+0000) Subject: Auto merge of #5209 - matklad:no-way-we-havent-had-a-test-for-this, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d10ec661b06420654bbc4ed0ccd32295698aa1dc;p=cargo.git Auto merge of #5209 - matklad:no-way-we-havent-had-a-test-for-this, r=alexcrichton Fix regression when passing arguments to subcommands closes https://github.com/rust-lang/cargo/issues/5208 `.args(&args[1..])` was copied directly from the docopt implementation, but there, `args[0]` was the path to `cargo` and not the name of subcommand, ie, `args` were *original* arguments for Cargo as a whole. --- d10ec661b06420654bbc4ed0ccd32295698aa1dc