Skip to content

Commit

Permalink
rust-fmt would like some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tanuva committed Nov 20, 2023
1 parent f519b80 commit 7ca1923
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions escl-scan-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
extern crate clap;
extern crate scan;

use std::process::exit;
use std::path::Path;
use clap::{Arg, Command};
use std::path::Path;
use std::process::exit;

fn main() {
env_logger::init();
Expand All @@ -18,12 +18,7 @@ fn main() {
.author(crate_authors!())
.about(crate_description!())
.arg_required_else_help(true)
.arg(
Arg::new("ip")
.help("IP of scanner")
.index(1)
.required(true),
)
.arg(Arg::new("ip").help("IP of scanner").index(1).required(true))
.arg(
Arg::new("destination file")
.help("Destination file")
Expand Down

0 comments on commit 7ca1923

Please sign in to comment.