mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 00:21:47 +03:00
Merge pull request #456 from AleoHQ/fix/cli-help
update leo cli message
This commit is contained in:
commit
d598f1f72b
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user