Skip to content

Commit

Permalink
Print usage when given incorrect command
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly committed Jun 24, 2024
1 parent 96301a9 commit 544359d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ parseCommand = \case
("--help" : _) ->
usage >> exitSuccess
other ->
exitWith (ExitFailure 1)
usage >> exitWith (ExitFailure 1)

parseOptions = \case
[] -> pure defaultOptions
Expand Down

0 comments on commit 544359d

Please sign in to comment.