From: bors Date: Fri, 9 Feb 2018 00:22:00 +0000 (+0000) Subject: Auto merge of #5024 - debris:helpful_message, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~3^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8c2f353e4a067c350a3685f1738a5d65894dc1e7;p=cargo.git Auto merge of #5024 - debris:helpful_message, r=alexcrichton Add helpful message when running cargo doc --open Add helpful message when running cargo doc --open in the root of the workspace. closes #4962 old output: ``` Documenting foo v0.1.0 (file:///Users/marek/projects/ethcore/tmp/dupa/foo) Documenting bar v0.1.0 (file:///Users/marek/projects/ethcore/tmp/dupa/bar) Finished dev [unoptimized + debuginfo] target(s) in 0.78 secs error: Passing multiple packages and `open` is not supported ``` new output: ``` Documenting foo v0.1.0 (file:///Users/marek/projects/ethcore/tmp/dupa/foo) Documenting bar v0.1.0 (file:///Users/marek/projects/ethcore/tmp/dupa/bar) Finished dev [unoptimized + debuginfo] target(s) in 0.81 secs error: Passing multiple packages and `open` is not supported. Please re-run this command with `-p ` where `` is one of the following: foo bar ``` --- 8c2f353e4a067c350a3685f1738a5d65894dc1e7