Fix incorrect call to clap
This commit is contained in:
parent
648be5f09f
commit
f501825852
@ -26,7 +26,7 @@ async fn main() {
|
||||
}
|
||||
};
|
||||
|
||||
let master_link = matches.get_one::<Box<str>>("link").unwrap().as_ref();
|
||||
let master_link = matches.get_one::<String>("link").unwrap().as_ref();
|
||||
let base_url = match get_base_url(master_link) {
|
||||
Ok(url) => url,
|
||||
Err(e) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user