diff --git a/src/cargo/lib.rs b/src/cargo/lib.rs index 9da4379f8df..455ffd4238b 100755 --- a/src/cargo/lib.rs +++ b/src/cargo/lib.rs @@ -75,7 +75,7 @@ pub struct VersionInfo { impl fmt::Display for VersionInfo { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "cargo-{}.{}.{}", + write!(f, "cargo {}.{}.{}", self.major, self.minor, self.patch)?; match self.cfg_info.as_ref().map(|ci| &ci.release_channel) { Some(channel) => {