Skip to content

Commit

Permalink
fix: bug when running without parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
brodo committed Oct 3, 2022
1 parent 07aa78e commit 60cb002
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ fn main() {

if args.len() < 2 {
println!("{}", help_text);
return;
}

if args[1] == "--help" {
Expand Down

0 comments on commit 60cb002

Please sign in to comment.