summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/hscript-validate/validator.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/hscript-validate/validator.cc b/tools/hscript-validate/validator.cc
index 3683b5d..cdcb43d 100644
--- a/tools/hscript-validate/validator.cc
+++ b/tools/hscript-validate/validator.cc
@@ -33,6 +33,9 @@ int main(int argc, char *argv[]) {
),
clipp::option("-n", "--no-colour").doc("Do not 'prettify' output")(
[&opts] { opts.reset(ScriptOptionFlags::Pretty); }
+ ),
+ clipp::option("-s", "--strict").doc("Strict parsing")(
+ [&opts] { opts.set(ScriptOptionFlags::StrictMode); }
)
);
if(!clipp::parse(argc, argv, cli)) {