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
1 changed files with 3 additions and 1 deletions

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();
} }