Skip to content

Commit

Permalink
add lowercase -v flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloso committed Jun 12, 2023
1 parent 63acba3 commit 7bff487
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub fn parse_cli_args() {
print_help();
break;
}
"--version" | "-V" => {
"--version" | "-v" | "-V" => {
print_version();
break;
}
Expand All @@ -32,7 +32,7 @@ Usage: sniffnet [OPTIONS]
Options:
-h, --help Print help
-V, --version Print version info"
-v, --version Print version info"
);
}

Expand Down

0 comments on commit 7bff487

Please sign in to comment.