Skip to content

Commit b6f9eee

Browse files
committed
Fix #160
1 parent cd5199b commit b6f9eee

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## Unreleased
8+
- Ts2ocaml now fails when it encounters unknown options, instead of just ignoring it.
9+
710
## [1.4.2] - 2022-03-16
811
- Fix a bug which caused ts2ocaml to generate invalid type declarations.
912
- Fix a bug which causes ts2ocaml to crash when loading mutually-referencing source files.

src/Main.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ let main argv =
2626
.Invoke(argv)
2727
.wrap(yargs.terminalWidth() |> Some)
2828
.parserConfiguration({| ``parse-positional-numbers`` = false |})
29+
.strict()
2930
.config()
3031
|> GlobalOptions.register
3132
|> Target.register parse Targets.JsOfOCaml.Target.target

0 commit comments

Comments
 (0)