From 4a14e3512aac9d4b2e4960e72ed8110a9d0b5d36 Mon Sep 17 00:00:00 2001 From: Tobias Langer Date: Wed, 5 Oct 2016 13:03:35 +0200 Subject: [PATCH] Set target for optional variables explicitly. --- generate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generate.py b/generate.py index 3df6019..46f62de 100755 --- a/generate.py +++ b/generate.py @@ -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', dest='header', type=str, nargs='?', default='./template/config.h', help='path to optional custom header file.') + parser.add_argument('--makefile', dest='makefile', type=str, nargs='?', default='./template/Makefile', help='path to optional custom makefile.') + parser.add_argument('--cpp', dest='cpp', type=str, nargs='?', default='./template/experiment.cpp', help='path to optional custom c++ implementation.') args = parser.parse_args() cwd = os.getcwd() -- libgit2 0.26.0