mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 15:07:53 +00:00
fix: remove warnings and extra outputs
This commit is contained in:
11
src/main.rs
11
src/main.rs
@@ -13,15 +13,6 @@ struct Cli {
|
||||
|
||||
fn main() {
|
||||
let cli = Cli::parse();
|
||||
match cli.socksport {
|
||||
Some(port) => {
|
||||
println!("the port: {}", port)
|
||||
}
|
||||
None => {
|
||||
println!("the port is not here")
|
||||
}
|
||||
};
|
||||
println!("the uri is: {}", cli.uri);
|
||||
let json_config = parser::create_json_config(&cli.uri, cli.socksport);
|
||||
println!("The json config is: {}", json_config);
|
||||
println!("{}", json_config);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user