Skip to content

Commit 0461f12

Browse files
committed
doc: desc. indesym avail output element
1 parent 733f1bf commit 0461f12

File tree

5 files changed

+33
-9
lines changed

5 files changed

+33
-9
lines changed

INSTALL.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -718,8 +718,8 @@ instance :instopt:`--without-modulepath<--with-modulepath>`):
718718

719719
Specify the content to report on avail sub-command regular output in addition
720720
to the available module names. Elements accepted in LIST are: ``modulepath``,
721-
``alias``, ``dirwsym``, ``sym``, ``tag``, ``key``, ``variant`` and
722-
``variantifspec`` (elements in LIST are separated by ``:``). The order of
721+
``alias``, ``dirwsym``, ``indesym``, ``sym``, ``tag``, ``key``, ``variant``
722+
and ``variantifspec`` (elements in LIST are separated by ``:``). The order of
723723
the elements in LIST does not matter.
724724
(default=\ ``modulepath:alias:dirwsym:sym:tag:variantifspec:key``)
725725

@@ -737,13 +737,16 @@ instance :instopt:`--without-modulepath<--with-modulepath>`):
737737
.. versionchanged:: 5.3
738738
Element ``variantifspec`` added and set by default
739739

740+
.. versionchanged:: 5.3.1
741+
Element ``indesym`` added
742+
740743
.. instopt:: --with-avail-terse-output=LIST
741744

742745
Specify the content to report on avail sub-command terse output in addition
743746
addition to the available module names. Elements accepted in LIST are:
744-
``modulepath``, ``alias``, ``dirwsym``, ``sym``, ``tag``, ``key``,
745-
``variant`` and ``variantifspec`` (elements in LIST are separated by ``:``).
746-
The order of the elements in LIST does not matter.
747+
``modulepath``, ``alias``, ``dirwsym``, ``indesym``, ``sym``, ``tag``,
748+
``key``, ``variant`` and ``variantifspec`` (elements in LIST are separated by
749+
``:``). The order of the elements in LIST does not matter.
747750
(default=\ ``modulepath:alias:dirwsym:sym:tag:variantifspec``)
748751

749752
This installation option defines the default value of the
@@ -760,6 +763,9 @@ instance :instopt:`--without-modulepath<--with-modulepath>`):
760763
.. versionchanged:: 5.3
761764
Element ``variantifspec`` added and set by default
762765

766+
.. versionchanged:: 5.3.1
767+
Element ``indesym`` added
768+
763769
.. instopt:: --with-bashcompletiondir=DIR
764770

765771
Directory for Bash completion scripts. When this option is not set Bash

NEWS.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ Modules 5.3.1 (not yet released)
3333
(:subcmd:`avail`, :subcmd:`paths` or :subcmd:`whatis` sub-commands),
3434
available modules returned are those providing all variant values set. (fix
3535
issue #499)
36+
* Add the ``indesym`` element in the allowed value list of the
37+
:mconfig:`avail_output` and :mconfig:`avail_terse_output` configuration
38+
options. When set, symbolic versions are reported as independent elements
39+
rather along the module or directory they are attached to.
3640

3741
.. _Hunspell: https://hunspell.github.io/
3842

doc/source/changes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,9 @@ The following Modules configuration option has been introduced on Modules 5.
10761076
``+`` or ``-`` which means value should respectively be appended to or
10771077
subtracted from current configuration option value.
10781078

1079+
Starting version 5.3.1, element ``indesym`` is added to the list of accepted
1080+
values.
1081+
10791082
:mconfig:`list_output`, :mconfig:`list_terse_output`, :mconfig:`colors`,
10801083
:mconfig:`protected_envvars`, :mconfig:`shells_with_ksh_fpath`,
10811084
:mconfig:`tag_abbrev`, :mconfig:`tag_color_name`, :mconfig:`variant_shortcut`

doc/source/design/output-configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ Specification
5353

5454
- Accepted elements in value lists are:
5555

56-
- For ``avail`` options: modulepath, alias, dirwsym, sym, tag, key, variant,
57-
variantifspec
56+
- For ``avail`` options: modulepath, alias, dirwsym, indesym, sym, tag, key,
57+
variant, variantifspec
5858
- For ``list`` options: header, idx, variant, sym, tag, key
5959

6060
- If the ``-o``/``--output`` options are wrongly specified

doc/source/module.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,8 @@ switches are accepted:
401401
does not matter.
402402

403403
Accepted elements in *LIST* for :subcmd:`avail` sub-command are:
404-
*modulepath*, *alias*, *dirwsym*, *sym*, *tag*, *key*, *variant* and
405-
*variantifspec*.
404+
*modulepath*, *alias*, *dirwsym*, *indesym*, *sym*, *tag*, *key*, *variant*
405+
and *variantifspec*.
406406

407407
Accepted elements in *LIST* for :subcmd:`list` sub-command are: *header*,
408408
*idx*, *variant*, *sym*, *tag* and *key*.
@@ -429,6 +429,9 @@ switches are accepted:
429429
.. versionchanged:: 5.3
430430
Prefixes ``+`` and ``-`` added to append and subtract elements
431431

432+
.. versionchanged:: 5.3.1
433+
Element *indesym* added for :subcmd:`avail` sub-command
434+
432435
.. option:: --paginate
433436

434437
Pipe all message output into :command:`less` (or if set, to the command
@@ -3765,6 +3768,8 @@ ENVIRONMENT
37653768

37663769
* ``alias``: module aliases.
37673770
* ``dirwsym``: directories associated with symbolic versions.
3771+
* ``indesym``: symbolic versions reported independently from the module or
3772+
directory they are attached to.
37683773
* ``key``: legend appended at the end of the output to explain it.
37693774
* ``modulepath``: modulepath names set as header prior the list of available
37703775
modules found in them.
@@ -3782,6 +3787,9 @@ ENVIRONMENT
37823787
modules from global/user rc and all enabled modulepaths are reported as a
37833788
single list.
37843789

3790+
When ``indesym`` element is set, ``dirwsym`` and ``sym`` elements are
3791+
disabled.
3792+
37853793
This environment variable value supersedes the default value set in the
37863794
:mconfig:`avail_output` configuration option. It can be defined with
37873795
the :subcmd:`config` sub-command. The :option:`--output`/:option:`-o` command
@@ -3794,6 +3802,9 @@ ENVIRONMENT
37943802
.. versionchanged:: 5.3
37953803
Elements ``variant`` and ``variantifspec`` added
37963804

3805+
.. versionchanged:: 5.3.1
3806+
Element ``indesym`` added
3807+
37973808
.. envvar:: MODULES_AVAIL_TERSE_OUTPUT
37983809

37993810
A colon separated list of the elements to report in addition to module names

0 commit comments

Comments
 (0)