diff --git a/helpers/odmOptionsToJson.py b/helpers/odmOptionsToJson.py index 5491457..cf607d1 100644 --- a/helpers/odmOptionsToJson.py +++ b/helpers/odmOptionsToJson.py @@ -34,7 +34,10 @@ class ArgumentParserStub(argparse.ArgumentParser): options[args[0]] = {} for name, value in kwargs.items(): options[args[0]][str(name)] = str(value) - + + def add_mutually_exclusive_group(self): + return ArgumentParserStub() + odm.parser = ArgumentParserStub() odm.config() print json.dumps(options) diff --git a/libs/odmOptions.js b/libs/odmOptions.js index 77ee43c..d4ff9bf 100644 --- a/libs/odmOptions.js +++ b/libs/odmOptions.js @@ -42,7 +42,8 @@ module.exports = { // (num cores can be set programmatically, so can gcpFile, etc.) if (["-h", "--project-path", "--cmvs-maxImages", "--time", "--zip-results", "--pmvs-num-cores", - "--start-with", "--gcp", "--end-with", "--images", + "--start-with", "--gcp", "--end-with", "--images", + "--rerun-all", "--rerun-from", "--slam-config", "--video", "--version", "--name"].indexOf(option) !== -1) continue; let values = json[option];