Lines Matching refs:arg
168 let arg = if opt.len() > 2 { in extract_global_params() localVariable
176 if arg == "verbose" { in extract_global_params()
184 if let Ok(level) = arg.parse::<usize>() { in extract_global_params()
204 parsed_command.connect_key = arg.to_string(); in extract_global_params()
205 if arg.len() > MAX_CONNECTKEY_SIZE.into() { in extract_global_params()
208 arg.len() in extract_global_params()
212 match parse_server_listen_string(arg.to_string()) { in extract_global_params()
237 fn parse_server_listen_string(arg: String) -> io::Result<String> { in parse_server_listen_string()
238 let segments: Vec<&str> = arg.split(':').collect(); in parse_server_listen_string()
253 let ip_str = &arg[..arg.len() - port_len - 1]; in parse_server_listen_string()
257 Ok(arg) in parse_server_listen_string()