Merge pull request #456 from AleoHQ/fix/cli-help

update leo cli message
This commit is contained in:
Collin Chin 2020-11-25 16:34:13 -05:00 committed by GitHub
commit d598f1f72b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,9 +22,8 @@ use clap::{App, AppSettings, Arg};
fn main() -> Result<(), CLIError> { fn main() -> Result<(), CLIError> {
let app = App::new("leo") let app = App::new("leo")
.version(include_str!("./leo-version")) .version(include_str!("./leo-version"))
.before_help("Hello world") .about("Leo compiler and package manager")
// .about("Leo compiler and package manager") .author("The Aleo Team <hello@aleo.org>")
// .author("The Aleo Team <hello@aleo.org>")
.settings(&[ .settings(&[
AppSettings::ColoredHelp, AppSettings::ColoredHelp,
AppSettings::DisableHelpSubcommand, AppSettings::DisableHelpSubcommand,