[Doc] Add version command/option to documentation

This commit is contained in:
tangxifan 2021-01-27 16:06:45 -07:00
parent d9fda31a9f
commit 78ad9cd000
2 changed files with 9 additions and 0 deletions

View File

@ -22,6 +22,10 @@ To launch OpenFPGA shell, users can choose two modes.
- If in batch mode, OpenFPGA will abort immediately when fatal errors occurred.
- If not in batch mode, OpenFPGA will enter interactive mode when fatal errors occurred.
.. option:: --version or -v
Print version information of OpenFPGA
.. option:: --help or -h
Show the help desk

View File

@ -3,6 +3,11 @@
Basic Commands
--------------
version
~~~~~~~
Show OpenFPGA version information
help
~~~~