Skip to content

Commit 88dce81

Browse files
committed
doc: update Lmod modfile compat man section for add-property
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent 211fafd commit 88dce81

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

doc/source/modulefile.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2190,9 +2190,9 @@ for Lmod, the alternative :command:`module` implementation developed in Lua.
21902190
Such modulefiles can be evaluated by Modules without raising error.
21912191
Differences between the two implementations are listed below.
21922192

2193-
The ``add-property``, ``remove-property`` and ``extensions`` modulefile
2194-
commands are evaluated as a *no-operation* command. No error is obtained if
2195-
these commands are used in modulefiles but no change occurs.
2193+
The ``remove-property`` and ``extensions`` modulefile commands are evaluated
2194+
as a *no-operation* command. No error is obtained if these commands are used
2195+
in modulefiles but no change occurs.
21962196

21972197
The :mfcmd:`break` command does not accept any argument. A ``msg`` argument
21982198
can be set on Lmod to provide a customized break error message.
@@ -2241,6 +2241,12 @@ specified is considered an optional pre-requirement. If it is loaded
22412241
afterward and if the :mconfig:`auto_handling` configuration option is enabled,
22422242
the dependent module will get automatically reloaded.
22432243

2244+
.. only:: html
2245+
2246+
.. versionadded:: 5.1
2247+
2248+
.. versionchanged:: 5.6
2249+
Modulefile command :mfcmd:`add-property` implemented
22442250

22452251
.. _Shell support:
22462252

0 commit comments

Comments
 (0)