mirror of
https://github.com/wez/wezterm.git
synced 2024-09-19 18:57:59 +03:00
Use clap::derive::Parser::parse() to fix deprecated warning
This commit is contained in:
parent
32e7931aa8
commit
c591217cb7
@ -49,7 +49,7 @@ struct Opt {
|
||||
|
||||
fn main() {
|
||||
env_logger::init();
|
||||
let opts = Opt::from_args();
|
||||
let opts = Opt::parse();
|
||||
|
||||
let mut config = Config::new();
|
||||
config.add_default_config_files();
|
||||
|
Loading…
Reference in New Issue
Block a user