Skip to content

Commit 67c7b09

Browse files
committed
doc: mention --tag in Module tags section
1 parent 0a8c89b commit 67c7b09

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/source/module.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2105,6 +2105,14 @@ meaning:
21052105
* ``super-sticky``: module once loaded cannot be unloaded unless reloaded,
21062106
module cannot be unloaded even if forced (see `Sticky modules`_ section)
21072107

2108+
The :option:`--tag` option helps to apply additional tags to modules. It is
2109+
available on :subcmd:`load`, :subcmd:`load-any`, :subcmd:`switch` and
2110+
:subcmd:`try-load` sub-commands and on :mfcmd:`always-load`,
2111+
:mfcmd:`depends-on`, :mfcmd:`module`, :mfcmd:`prereq`, :mfcmd:`prereq-all` and
2112+
:mfcmd:`prereq-any` modulefile commands. In case the designated module is
2113+
already loaded, the additional tags are added to the list of tags already
2114+
applied to this module.
2115+
21082116
Module tags are reported along the module they are associated to on
21092117
:subcmd:`avail` and :subcmd:`list` sub-command results. Tags could be reported
21102118
either:

0 commit comments

Comments
 (0)