1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-13 05:42:20 +00:00

Add authors to help message

This commit is contained in:
Matan Kushner 2019-04-01 23:28:29 -04:00
parent ca3f439012
commit 106bcb73bc
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -4,9 +4,11 @@ use clap::App;
fn main() { fn main() {
let matches = App::new("Starship") let matches = App::new("Starship")
.about("The cross-platform prompt for astronauts.") .about("The cross-platform prompt for astronauts. ✨🚀")
// pull the version number from Cargo.toml // pull the version number from Cargo.toml
.version(crate_version!()) .version(crate_version!())
// pull the authors from Cargo.toml
.author(crate_authors!())
.get_matches(); .get_matches();
} }