Added missing required option from arguments

This commit is contained in:
Hita Barasm Mamagani 2021-10-14 19:30:26 +03:30 committed by bernat
parent ee36e3993b
commit 9b0751b6df
2 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,7 @@ def main():
help='TCP port to listen to (default: 2000)')
argparser.add_argument(
'-o', '--output-dir',
required=True,
help='Output directory path for extraction result')
args = argparser.parse_args()

View File

@ -61,10 +61,12 @@ def main():
description=__doc__)
argparser.add_argument(
'-i', '--input-path',
required=True,
metavar='OSM_FILE_PATH',
help='set the input OSM file path')
argparser.add_argument(
'-o', '--output-path',
required=True,
metavar='XODR_FILE_PATH',
help='set the output XODR file path')
argparser.add_argument(