aboutsummaryrefslogtreecommitdiffhomepage
path: root/Model Repositories/model_renamer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Model Repositories/model_renamer.py')
-rw-r--r--Model Repositories/model_renamer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Model Repositories/model_renamer.py b/Model Repositories/model_renamer.py
index 382e5c1..13d929d 100644
--- a/Model Repositories/model_renamer.py
+++ b/Model Repositories/model_renamer.py
@@ -5,7 +5,7 @@ import json
import xml.etree.ElementTree as ET
parser = argparse.ArgumentParser(description='Rename the models in an XML file')
-parser.add_argument('--original', metavar='xml_file', type=str, help='The XML file to be parsed')
+parser.add_argument('--original', metavar='xml_file', type=str, help='The XML file to be parsed', required=True)
parser.add_argument('--out', metavar='output_file', type=str, default='ModelRepo_generated.xml', help='The output file', const='ModelRepo_generated.xml', nargs='?')
args = parser.parse_args()