Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
e4045a8d
Commit
e4045a8d
authored
May 20, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add shortcuts for the prefix and sufix code options
parent
ef680b48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
__main__.py
hdlmake/__main__.py
+2
-2
No files found.
hdlmake/__main__.py
View file @
e4045a8d
...
...
@@ -338,12 +338,12 @@ def _get_parser():
default
=
None
,
dest
=
"filename"
)
parser
.
add_argument
(
"--prefix"
,
"-
p"
,
"-
-prefix"
,
dest
=
"prefix_code"
,
default
=
""
,
help
=
"Arbitrary python code to be executed just before the Manifest"
)
parser
.
add_argument
(
"--sufix"
,
"-
s"
,
"-
-sufix"
,
dest
=
"sufix_code"
,
default
=
""
,
help
=
"Arbitrary python code to be executed just after the Manifest"
)
...
...
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