mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Switch from structopt to clap
This commit is contained in:
parent
79c02f2457
commit
c7aeffe586
13 changed files with 107 additions and 98 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use std::{env, panic, process};
|
||||
|
||||
use backtrace::Backtrace;
|
||||
use structopt::StructOpt;
|
||||
use clap::Parser;
|
||||
|
||||
use librojo::cli::Options;
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ fn main() {
|
|||
process::exit(1);
|
||||
}));
|
||||
|
||||
let options = Options::from_args();
|
||||
let options = Options::parse();
|
||||
|
||||
let log_filter = match options.global.verbosity {
|
||||
0 => "info",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue