Reorder optional arguments documentation

parent 349aa807
...@@ -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')"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment