Utils into multiple files

This commit is contained in:
ChristianVisintin
2020-12-20 15:36:48 +01:00
parent 77545ec87d
commit eb12da0308
12 changed files with 316 additions and 223 deletions

View File

@@ -119,7 +119,7 @@ fn main() {
let extra_args: Vec<String> = matches.free;
if let Some(remote) = extra_args.get(0) {
// Parse address
match utils::parse_remote_opt(remote) {
match utils::parser::parse_remote_opt(remote) {
Ok((addr, portn, proto, user)) => {
// Set params
address = Some(addr);