diff options
-rw-r--r-- | doc/quick_start/README.rst | 2 | ||||
-rw-r--r-- | doc/using/InvokingGHDL.rst | 4 |
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: |