Skip to content

Commit

Permalink
* Fixed help screen not showing when -h or --help is passed as an arg…
Browse files Browse the repository at this point in the history
…ument
  • Loading branch information
CKingX committed Apr 18, 2022
1 parent 320b385 commit f5aaaf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ fn main() {
if let Some(arg) = args.iter().nth(1) {
if arg.contains("--version") || arg.contains("-v") {
println!("{VERSION}");
} else {
println!("{HELP}");
}
} else {
println!("{HELP}");
}
process::exit(0);
}
Expand Down

0 comments on commit f5aaaf1

Please sign in to comment.