mirror of
https://github.com/NerdyPepper/eva
synced 2024-07-08 19:45:52 +00:00
Add colored help
This commit is contained in:
parent
d31097959f
commit
6093a7ef23
|
@ -22,7 +22,7 @@ use crate::parse::*;
|
|||
use crate::readline::*;
|
||||
|
||||
// extern crates
|
||||
use clap::{App, Arg};
|
||||
use clap::{App, AppSettings, Arg};
|
||||
use directories::{ProjectDirs, UserDirs};
|
||||
use lazy_static::lazy_static;
|
||||
use rustyline::error::ReadlineError;
|
||||
|
@ -150,6 +150,7 @@ fn parse_arguments() -> Configuration {
|
|||
.version(env!("CARGO_PKG_VERSION"))
|
||||
.author(env!("CARGO_PKG_AUTHORS"))
|
||||
.about(env!("CARGO_PKG_DESCRIPTION"))
|
||||
.global_setting(AppSettings::ColoredHelp)
|
||||
.arg(
|
||||
Arg::with_name("fix")
|
||||
.short("f")
|
||||
|
|
Loading…
Reference in New Issue
Block a user