Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
62f5189e
Commit
62f5189e
authored
Feb 11, 2015
by
Matthias Braun
Browse files
gen_ir.py: Behave properly when -I is specified multiple times.
amend to inc
parent
808b70b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/gen_ir.py
View file @
62f5189e
...
...
@@ -15,10 +15,9 @@ def main(argv):
parser
=
argparse
.
ArgumentParser
(
description
=
'Generate code/docu from node specification'
,
add_help
=
True
)
parser
.
add_argument
(
'--tagfile'
,
dest
=
'tagfile'
,
action
=
'store'
,
help
=
'doxygen tag file for link generation'
)
parser
.
add_argument
(
'-I'
,
dest
=
'includedirs'
,
action
=
'store'
,
nargs
=
'*'
,
default
=
[],
parser
.
add_argument
(
'-I'
,
dest
=
'includedirs'
,
action
=
'append'
,
help
=
'include directories for templates/python modules'
,
metavar
=
'DIR'
)
default
=
[],
metavar
=
'DIR'
)
parser
.
add_argument
(
'-D'
,
dest
=
'definitions'
,
action
=
'append'
,
help
=
'definition exported to jinja'
,
default
=
[],
metavar
=
'NAME=DEF'
)
...
...
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