@@ -237,9 +237,26 @@ The :option:`--tag` option is available on :subcmd:`load`, :subcmd:`load-any`,
237237:mfcmd: `always-load `, :mfcmd: `depends-on `, :mfcmd: `module `, :mfcmd: `prereq `,
238238:mfcmd: `prereq-all ` and :mfcmd: `prereq-any ` modulefile commands.
239239
240+ Informational messages of module evaluation have been updated to mention in
241+ module denomination the tags applying to it, as it is done in :subcmd: `list `
242+ sub-command output:
243+
244+ .. parsed-literal ::
245+
246+ :ps: `$ ` module load -v --tag=sticky:bar foo/1.0
247+ Loading :sgrshi: `foo/1.0 ` <bar>
248+
240249 In case the designated module is already loaded, the additional tags are added
241250to the list of tags already applied to this module.
242251
252+ .. parsed-literal ::
253+
254+ :ps: `$ ` module list
255+ Currently Loaded Modulefiles:
256+ 1) foo/1.0
257+ :ps: `$ ` module load -v --tag=sticky:bar foo/1.0
258+ Tagging :sgrshi: `foo/1.0 ` <bar>
259+
243260 The ``keep-loaded `` tag is introduced in this version. It avoids an
244261auto-loaded module to get automatically unloaded when its dependent modules
245262are unloaded. This new tag can be set with the :mfcmd: `module-tag ` modulefile
@@ -248,11 +265,46 @@ command. Default :mconfig:`tag_abbrev` configuration option has been updated
248265to add the ``kL `` abbreviation for ``keep-loaded `` tag. Default dark and light
249266color palettes have been updated too.
250267
268+ .. parsed-literal ::
269+
270+ :ps: `$ ` module show bar/1.0
271+ -------------------------------------------------------------------
272+ :sgrhi: `/path/to/modulefiles/bar/1.0 `:
273+
274+ :sgrcm: `always-load ` foo/1.0
275+ -------------------------------------------------------------------
276+ :ps: `$ ` module load bar/1.0
277+ Loading :sgrhi: `bar/1.0 `
278+ :sgrin: `Loading requirement `: foo/1.0
279+ :ps: `$ ` module unload bar/1.0
280+ :ps: `$ ` module list
281+ Currently Loaded Modulefiles:
282+ 1) :sgral: `foo `:sgrkl:`/1.0 `
283+
284+ Key:
285+ :sgral: `auto-loaded ` :sgrkl: `keep-loaded `
286+
251287 When saving a collection, the tags defined with :option: `--tag ` option are
252288recorded to set them again when collection is restored. Tags resulting from
253289module load state, like ``auto-loaded `` and ``keep-loaded ``, are also
254290recorded.
255291
292+ .. parsed-literal ::
293+
294+ :ps: `$ ` module load --tag=sticky bar/1.0
295+ Loading :sgrshi: `bar/1.0 `
296+ :sgrin: `Loading requirement `: foo/1.0
297+ :ps: `$ ` module save
298+ :ps: `$ ` module saveshow
299+ -------------------------------------------------------------------
300+ :sgrhi: `/home/user/.module/default `:
301+
302+ :sgrcm: `module ` use --append /path/to/modulefiles
303+ :sgrcm: `module ` load --tag=auto-loaded:keep-loaded foo
304+ :sgrcm: `module ` load --tag=sticky bar
305+
306+ -------------------------------------------------------------------
307+
256308 The :mconfig: `collection_pin_tag ` configuration option is added to record in
257309collection all tags set on loaded modules. This configuration option is
258310disabled by default.
0 commit comments