]> git.proxmox.com Git - cargo.git/commit
Fix interception of subcommand --version flag
authorAnton Larin <edding.default@gmail.com>
Sat, 30 Jan 2016 09:47:25 +0000 (12:47 +0300)
committerAnton Larin <edding.default@gmail.com>
Sat, 30 Jan 2016 09:47:25 +0000 (12:47 +0300)
commit3fb50545f6cd1110ef9c2b80866b9b977f43d2e2
treebd831af70cd0db2f6e5ea844d5a35573f9fb6f31
parent4b447ed3d343fe953f1c0124cb0530b224982dd0
Fix interception of subcommand --version flag

Addresses #2286: when subcommand used execute_main_without_stdin and
provided --version flag, cargo intercepted it and printed it's own
version.
src/bin/cargo.rs
src/cargo/lib.rs