Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Tobias Langer
/
experiment
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4f31a492
authored
Oct 05, 2016
by
Tobias Langer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed flags for optional arguments.
parent
9fbfe4a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
generate.py
+3
-3
No files found.
generate.py
View file @
4f31a492
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment