We do not need to pass the subcommand as arg here

This commit is contained in:
Matthias Beyer 2016-09-02 09:39:34 +02:00
parent ac7fb19040
commit 389c5b9033

View file

@ -190,7 +190,6 @@ fn main() {
.stdin(Stdio::inherit()) .stdin(Stdio::inherit())
.stdout(Stdio::inherit()) .stdout(Stdio::inherit())
.stderr(Stdio::inherit()) .stderr(Stdio::inherit())
.arg(subcommand)
.args(&subcommand_args[..]) .args(&subcommand_args[..])
.spawn() .spawn()
.and_then(|mut handle| handle.wait()) .and_then(|mut handle| handle.wait())