Skip to content

Commit bff1930

Browse files
committed
doc: add subcmd/mfcmd diff in other-implementations
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent 543cbf1 commit bff1930

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.hunspell.en.dic

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,3 +1235,5 @@ Jupyter
12351235
environmentmodules
12361236
Mii
12371237
RenvModule
1238+
tablelist
1239+
haveDynamicMPATH

doc/source/other-implementations.rst

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,53 @@ table highlights features that are unique to each implementation.
7171
.. _i18n: https://lmod.readthedocs.io/en/latest/185_localization.html
7272
.. _Path entry priorities: https://lmod.readthedocs.io/en/latest/077_ref_counting.html#specifying-priorities-for-path-entries
7373

74+
The following table highlights ``module`` sub-commands that are exclusive to
75+
either Lmod or Modules. In some cases, similar functionality exists under
76+
different sub-command names or mechanisms. A correspondence table is provided
77+
at the end of this section to map these equivalents.
78+
79+
.. list-table::
80+
:header-rows: 1
81+
82+
* - Lmod ``8.8``
83+
- Modules ``5.6``
84+
* - ``category``, ``describe``, ``disable``, ``overview``, ``tablelist``,
85+
``update``
86+
- :subcmd:`aliases`, :subcmd:`append-path`, :subcmd:`cachebuild`,
87+
:subcmd:`cacheclear`, :subcmd:`clear`, :subcmd:`config`,
88+
:subcmd:`edit`, :subcmd:`info-loaded`, :subcmd:`initadd`,
89+
:subcmd:`initclear`, :subcmd:`initlist`, :subcmd:`initprepend`,
90+
:subcmd:`initrm`, :subcmd:`initswitch`, :subcmd:`is-saved`,
91+
:subcmd:`is-used`, :subcmd:`lint`, :subcmd:`mod-to-sh`, :subcmd:`path`,
92+
:subcmd:`paths`, :subcmd:`prepend-path`, :subcmd:`remove-path`,
93+
:subcmd:`saverm`, :subcmd:`saveshow`, :subcmd:`sh-to-mod`,
94+
:subcmd:`source`, :subcmd:`stash`, :subcmd:`stashclear`,
95+
:subcmd:`stashlist`, :subcmd:`stashpop`, :subcmd:`stashrm`,
96+
:subcmd:`stashshow`, :subcmd:`state`, :subcmd:`test`
97+
98+
99+
The following table highlights Tcl modulefile commands that are exclusive to
100+
either Lmod or Modules. In some cases, similar functionality exists under
101+
different command names or mechanisms. A correspondence table is provided at
102+
the end of this section to map these equivalents.
103+
104+
.. list-table::
105+
:header-rows: 1
106+
107+
* - Lmod ``8.8``
108+
- Modules ``5.6``
109+
* - ``extensions``, ``haveDynamicMPATH``, ``remove-property``
110+
- :mfcmd:`getvariant`, :mfcmd:`is-saved`, :mfcmd:`is-used`,
111+
:mfcmd:`lsb-release`, :mfcmd:`module-help`, :mfcmd:`module-tag`,
112+
:mfcmd:`module-virtual`, :mfcmd:`module-warn`,
113+
:mfcmd:`modulepath-label`, :mfcmd:`modulepath-label`,
114+
:mfcmd:`reportWarning`, :mfcmd:`uncomplete`, :mfcmd:`variant`,
115+
:mfcmd:`x-resource`
116+
117+
See the :ref:`Compatibility with Lmod Tcl modulefile` section for details on
118+
how the implementation of the Tcl modulefile commands differ between Lmod and
119+
Modules.
120+
74121
Other alternatives
75122
------------------
76123

0 commit comments

Comments
 (0)