Allow setting verbosity to info again
This commit is contained in:
parent
5825bce0e4
commit
b8d6e6ad28
1 changed files with 8 additions and 5 deletions
|
@ -83,15 +83,18 @@ FLAGS:
|
|||
std::process::exit(0);
|
||||
}
|
||||
|
||||
let mut verbosity: u64 = 0;
|
||||
|
||||
if pargs.contains("-v") {
|
||||
verbosity = 1;
|
||||
}
|
||||
|
||||
setup_logging(verbosity).expect("failed to initialize logging.");
|
||||
|
||||
let args = Args {
|
||||
files: pargs.finish().into_iter().map(|arg| arg.into()).collect(),
|
||||
};
|
||||
|
||||
// let verbosity: u64 = args.occurrences_of("verbose");
|
||||
let verbosity: u64 = 0;
|
||||
|
||||
setup_logging(verbosity).expect("failed to initialize logging.");
|
||||
|
||||
// initialize language registry
|
||||
use helix_core::config_dir;
|
||||
use helix_core::syntax::{Loader, LOADER};
|
||||
|
|
Loading…
Reference in a new issue