aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-01-05 02:03:42 +0100
committertgingold <tgingold@users.noreply.github.com>2021-01-05 18:50:44 +0100
commitd62ac2d4973b6f6f34ab804c91ab8be5ddb2f86f (patch)
tree10bdb8aa1ea304fbc5cb241233d7f687c71ba39f
parent072bfb7557da49d84a5709656af93e464359a994 (diff)
downloadghdl-d62ac2d4973b6f6f34ab804c91ab8be5ddb2f86f.tar.gz
ghdl-d62ac2d4973b6f6f34ab804c91ab8be5ddb2f86f.tar.bz2
ghdl-d62ac2d4973b6f6f34ab804c91ab8be5ddb2f86f.zip
Fixed -P option.
-rw-r--r--doc/quick_start/README.rst2
-rw-r--r--doc/using/InvokingGHDL.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/quick_start/README.rst b/doc/quick_start/README.rst
index b5876bd9b..fc5f1a81a 100644
--- a/doc/quick_start/README.rst
+++ b/doc/quick_start/README.rst
@@ -30,7 +30,7 @@ The following tips might be useful:
* Use :option:`--work=LIB_NAME <--work>` to analyze files into the ``LIB_NAME`` library.
To use files analyzed to a different directory, give the path
- to the ``LIB_NAME`` library using :option:`-P/path/to/name/directory/ <-P<DIRECTORY>>`.
+ to the ``LIB_NAME`` library using :option:`-P/path/to/name/directory/ <-P>`.
* Use the same options for analysis and elaboration. E.g., first analyse with ``ghdl -a --std=08 --work=mylib myfile.vhdl``;
and then elaborate and run with ``ghdl --elab-run --std=08 top``.
diff --git a/doc/using/InvokingGHDL.rst b/doc/using/InvokingGHDL.rst
index 4940637f5..6ee2c66dd 100644
--- a/doc/using/InvokingGHDL.rst
+++ b/doc/using/InvokingGHDL.rst
@@ -249,7 +249,7 @@ Options
Specify the directory where the ``WORK`` library is located. When this option is not present, the ``WORK`` library is in the current directory. The object files created by the compiler are always placed in the same directory as the ``WORK`` library.
- Use option :option:`-P <-P<DIRECTORY>>` to specify where libraries other than ``WORK`` are placed.
+ Use option :option:`-P <-P>` to specify where libraries other than ``WORK`` are placed.
.. option:: --std=<STANDARD>
@@ -551,7 +551,7 @@ Library commands
A new library is created implicitly, by compiling entities (packages etc.) into it: ``ghdl -a --work=my_custom_lib my_file.vhdl``.
-A library's source code is usually stored and compiled into its own directory, that you specify with the :option:`--workdir` option: ``ghdl -a --work=my_custom_lib --workdir=my_custom_libdir my_custom_lib_srcdir/my_file.vhdl``. See also the :option:`-P <-P<DIRECTORY>>` command line option.
+A library's source code is usually stored and compiled into its own directory, that you specify with the :option:`--workdir` option: ``ghdl -a --work=my_custom_lib --workdir=my_custom_libdir my_custom_lib_srcdir/my_file.vhdl``. See also the :option:`-P <-P>` command line option.
Furthermore, GHDL provides a few commands which act on a library: