doc: desc. --dumpname option in NEWS/changes/man

Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
This commit is contained in:
Xavier Delaruelle
2024-11-23 16:47:17 -05:00
parent 28fb1ec5fa
commit 6cc645cf9e
4 changed files with 16 additions and 0 deletions

View File

@@ -1215,3 +1215,4 @@ coc
ov
readme
DCO
dumpname

View File

@@ -43,6 +43,9 @@ Modules 5.6.0 (not yet released)
performed with :mfcmd:`module use<module>`, :mfcmd:`append-path` or
:mfcmd:`prepend-path` modulefile commands on :subcmd:`avail`,
:subcmd:`whatis` and :subcmd:`paths` sub-commands.
* Add :option:`--dumpname` option to report name of current Environment
Modules implementation. Here it returns ``Modules``. This option is also
available on Lmod starting version 8.7.50.
.. _Security policy: https://github.com/envmodules/modules/blob/main/SECURITY.md
.. _Modules chat room: https://matrix.to/#/#modules:matrix.org

View File

@@ -835,6 +835,8 @@ The following command line switches appeared on Modules 5.
+------------+-----------------------------------------------------------------+
| 5.3 | :option:`--ignore-cache`, :option:`--ignore-user-rc` |
+------------+-----------------------------------------------------------------+
| 5.6 | :option:`--dumpname` |
+------------+-----------------------------------------------------------------+
:option:`--output`

View File

@@ -277,6 +277,16 @@ switches are accepted:
.. versionadded:: 4.0
.. option:: --dumpname
Report the name of the current implementation of the :command:`module`
command. This option returns ``Modules`` for this implementation. The command
then terminates without further processing.
.. only:: html
.. versionadded:: 5.6
.. option:: --force, -f
On :subcmd:`load`, :subcmd:`unload`, :subcmd:`switch`, :subcmd:`load-any`,