@@ -343,6 +343,9 @@ the *modulefile* is being loaded.
343343 .. versionchanged :: 5.1
344344 Option ``--return-value `` added
345345
346+ .. versionchanged :: 5.7
347+ Command available from module rc file context
348+
346349.. mfcmd :: getvariant [--return-value] variant [value]
347350
348351 Returns value of designated *variant *. If *variant * is not defined, *value *
@@ -1772,15 +1775,16 @@ for each interpretation context.
17721775| Commands available from | Commands available from run-command (rc) file |
17731776| modulefile interpretation | interpretation |
17741777+===========================+=====================================================+
1775- | All the Modules specific | :mfcmd: `hide-modulefile `, :mfcmd: `hide-version `, |
1776- | and standard Tcl commands | :mfcmd: `is-loaded `, :mfcmd: `is-used `, |
1777- | | :mfcmd: `lsb-release `, :mfcmd: `module-alias `, |
1778- | | :mfcmd: `module-forbid `, :mfcmd: `module-hide `, |
1779- | | :mfcmd: `module-info `, :mfcmd: `module-tag `, |
1780- | | :mfcmd: `module-version `, :mfcmd: `module-virtual `, |
1781- | | :mfcmd: `module-warn `, :mfcmd: `modulepath-label `, |
1782- | | :mfcmd: `system `, :mfcmd: `uname `, |
1783- | | :mfcmd: `versioncmp ` and standard Tcl commands |
1778+ | All the Modules specific | :mfcmd: `getenv `, :mfcmd: `hide-modulefile `, |
1779+ | and standard Tcl commands | :mfcmd: `hide-version `, :mfcmd: `is-loaded `, |
1780+ | | :mfcmd: `is-used `, :mfcmd: `lsb-release `, |
1781+ | | :mfcmd: `module-alias `, :mfcmd: `module-forbid `, |
1782+ | | :mfcmd: `module-hide `, :mfcmd: `module-info `, |
1783+ | | :mfcmd: `module-tag `, :mfcmd: `module-version `, |
1784+ | | :mfcmd: `module-virtual `, :mfcmd: `module-warn `, |
1785+ | | :mfcmd: `modulepath-label `, :mfcmd: `system `, |
1786+ | | :mfcmd: `uname `, :mfcmd: `versioncmp ` and standard |
1787+ | | Tcl commands |
17841788+---------------------------+-----------------------------------------------------+
17851789
17861790.. note :: Global and user run-command files are interpreted like modulefiles
0 commit comments