Skip to content

Commit ae5fdbe

Browse files
authored
Merge pull request #2 from garyb/allow-other-options
Allow other options to be passed on the CLI
2 parents 73cb9c4 + 2d8380d commit ae5fdbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MoteRunner/Options.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type Config =
1515

1616
parseConfig Effect (Either String Config)
1717
parseConfig = do
18-
{ value } ← optlicate {} (defaultPreferences { globalOpts = parseConfig' })
18+
{ value } ← optlicate {} (defaultPreferences { globalOpts = parseConfig', errorOnUnrecognizedOpts = false })
1919
pure $ unV (Left <<< renderErrors) Right value
2020

2121
parseConfig' :: Optlicative Config

0 commit comments

Comments
 (0)