File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ pub enum WalletSubCommand {
179179}
180180
181181/// Config options wallet operations can take.
182- #[ derive( Debug , Args , Clone , PartialEq ) ]
182+ #[ derive( Debug , Parser , Clone , PartialEq ) ]
183183pub struct WalletOpts {
184184 /// Selects the wallet to use.
185185 #[ clap( name = "WALLET_NAME" , short = 'w' , long = "wallet" ) ]
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ use bitcoin::*;
99use bdk:: blockchain:: AnyBlockchain ;
1010use bdk:: database:: AnyDatabase ;
1111use bdk:: miniscript:: { MiniscriptKey , Translator } ;
12+ use clap:: Parser ;
1213use js_sys:: Promise ;
1314use regex:: Regex ;
1415use std:: collections:: HashMap ;
@@ -17,7 +18,6 @@ use std::ops::Deref;
1718use std:: path:: PathBuf ;
1819use std:: rc:: Rc ;
1920use std:: str:: FromStr ;
20- use structopt:: StructOpt ;
2121use wasm_bindgen:: prelude:: * ;
2222use wasm_bindgen_futures:: future_to_promise;
2323
You can’t perform that action at this time.
0 commit comments