projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
e4da2d4
deb1c1e
)
Auto merge of #5209 - matklad:no-way-we-havent-had-a-test-for-this, r=alexcrichton
author
bors
<bors@rust-lang.org>
Tue, 20 Mar 2018 00:38:44 +0000
(
00:38
+0000)
committer
bors
<bors@rust-lang.org>
Tue, 20 Mar 2018 00:38:44 +0000
(
00:38
+0000)
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.
Trivial merge