diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/hscript-validate/validator.cc | 3 |
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)) { |