Commit 4f31a492 by Tobias Langer

Fixed flags for optional arguments.

parent 9fbfe4a4
......@@ -73,9 +73,9 @@ def main():
parser = argparse.ArgumentParser(description='Generate experiment data.')
parser.add_argument('description', type=str, nargs='+', help='file containing the taskset description.')
parser.add_argument('header', type=str, nargs='?', default='./template/config.h', help='path to optional custom header file.')
parser.add_argument('makefile', type=str, nargs='?', default='./template/Makefile', help='path to optional custom makefile.')
parser.add_argument('cpp', type=str, nargs='?', default='./template/experiment.cpp', help='path to optional custom c++ implementation.')
parser.add_argument('--header', type=str, nargs='?', default='./template/config.h', help='path to optional custom header file.')
parser.add_argument('--makefile', type=str, nargs='?', default='./template/Makefile', help='path to optional custom makefile.')
parser.add_argument('--cpp', type=str, nargs='?', default='./template/experiment.cpp', help='path to optional custom c++ implementation.')
args = parser.parse_args()
cwd = os.getcwd()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment