diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-14 07:59:17 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-14 07:59:17 -0500 |
commit | 014d500546a2713be0b789fbccd3350c96d22a4f (patch) | |
tree | 3abf28d78b4b0f34b58276b406c9d37e22c322cc /tools | |
parent | 576f70d1475d4717843dd6bfef197ca77973b03c (diff) | |
download | horizon-014d500546a2713be0b789fbccd3350c96d22a4f.tar.gz horizon-014d500546a2713be0b789fbccd3350c96d22a4f.tar.bz2 horizon-014d500546a2713be0b789fbccd3350c96d22a4f.tar.xz horizon-014d500546a2713be0b789fbccd3350c96d22a4f.zip |
hscript-validate: add dangerous -i flag
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 cfaf38d..84c3be3 100644 --- a/tools/hscript-validate/validator.cc +++ b/tools/hscript-validate/validator.cc @@ -30,6 +30,9 @@ int main(int argc, char *argv[]) { auto cli = ( clipp::value("installfile", installfile), + clipp::option("-i", "--install").doc("Set Installation Environment flag (DANGEROUS)")( + [&opts] { opts.set(ScriptOptionFlags::InstallEnvironment); } + ), clipp::option("-k", "--keep-going").doc("Continue parsing after errors")( [&opts] { opts.set(ScriptOptionFlags::KeepGoing); } ), |