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
7a70c6ce
Commit
7a70c6ce
authored
May 26, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorder optional arguments documentation
parent
349aa807
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
19 deletions
+24
-19
index.rst
docs/index.rst
+24
-19
No files found.
docs/index.rst
View file @
7a70c6ce
...
@@ -1459,26 +1459,10 @@ Hdlmake can be run with several arguments. The way of using them is identical wi
...
@@ -1459,26 +1459,10 @@ Hdlmake can be run with several arguments. The way of using them is identical wi
--------------
--------------
Shows help message that is automatically generated with Python's optparse module. Gives a short description of each available option.
Shows help message that is automatically generated with Python's optparse module. Gives a short description of each available option.
``-p, --prefix ARBITRARY_CODE``
-------------------------------
Add arbitrary Python code from the command line that **will be evaluated before each Manifest.py** parse action across the hierarchy.
As an example, this command will generate the Makefile and will try to print ``Hello hdlmake`` before each ``Manifest.py`` run:
``-v, --version``
--------------
.. code-block:: bash
Print the version of the ``hdlmake`` instance on execution an quit.
hdlmake -p "print('Hello hdlmake')"
``-s, --sufix ARBITRARY_CODE``
------------------------------
Add arbitrary Python code from the command line that **will be evaluated after each Manifest.py** parse action across the hierarchy.
As an example, this command will generate the Makefile but will try to print ``Bye, bye hdlmake`` after each ``Manifest.py`` run:
.. code-block:: bash
hdlmake -s "print('Bye, bye hdlmake')"
``--log LOG``
``--log LOG``
...
@@ -1502,3 +1486,24 @@ Set logging level for the Python logger facility. You can choose one of the leve
...
@@ -1502,3 +1486,24 @@ Set logging level for the Python logger facility. You can choose one of the leve
+---------------+---------------+
+---------------+---------------+
``-p, --prefix ARBITRARY_CODE``
-------------------------------
Add arbitrary Python code from the command line that **will be evaluated before each Manifest.py** parse action across the hierarchy.
As an example, this command will generate the Makefile and will try to print ``Hello hdlmake`` before each ``Manifest.py`` run:
.. code-block:: bash
hdlmake -p "print('Hello hdlmake')"
``-s, --sufix ARBITRARY_CODE``
------------------------------
Add arbitrary Python code from the command line that **will be evaluated after each Manifest.py** parse action across the hierarchy.
As an example, this command will generate the Makefile but will try to print ``Bye, bye hdlmake`` after each ``Manifest.py`` run:
.. code-block:: bash
hdlmake -s "print('Bye, bye hdlmake')"
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