Skip to content

Commit 053d5c9

Browse files
committed
doc: desc. report in modulefile man
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent 5f7ed81 commit 053d5c9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

doc/source/changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ The following modulefile Tcl commands appeared on Modules 4.
442442
| in version | |
443443
+============+=================================================================+
444444
| 4.0 | :mfcmd:`module-info command<module-info>`, :mfcmd:`getenv`, |
445-
| | :mfcmd:`reportError`, :mfcmd:`reportWarning` |
445+
| | :mfcmd:`report`, :mfcmd:`reportError`, :mfcmd:`reportWarning` |
446446
+------------+-----------------------------------------------------------------+
447447
| 4.1 | :mfcmd:`module-info loaded<module-info>`, :mfcmd:`is-saved`, |
448448
| | :mfcmd:`is-used`, :mfcmd:`is-avail`, :mfcmd:`module-virtual` |

doc/source/modulefile.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,6 +1450,14 @@ the *modulefile* is being loaded.
14501450
.. versionchanged:: 5.4
14511451
Option ``--glob`` added
14521452

1453+
.. mfcmd:: report string
1454+
1455+
Output *string* as a message during *modulefile* evaluation.
1456+
1457+
.. only:: html
1458+
1459+
.. versionadded:: 4.0
1460+
14531461
.. mfcmd:: reportError string
14541462

14551463
Output *string* as an error message during *modulefile* evaluation and raise

0 commit comments

Comments
 (0)