Skip to content

Commit 8fee1ab

Browse files
committed
doc: desc. "update" sub-command
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent 9b0b71d commit 8fee1ab

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

NEWS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Modules 5.6.0 (not yet released)
147147
* Doc: improve :ref:`enable-modules-in-shells` guidelines.
148148
* Doc: add :ref:`man-path` cookbook recipe.
149149
* Doc: add :ref:`other-implementations` document.
150+
* Add :subcmd:`update` sub-command, an alias of :subcmd:`reload`
150151

151152
.. _Security policy: https://github.com/envmodules/modules/blob/main/SECURITY.md
152153
.. _Modules chat room: https://matrix.to/#/#modules:matrix.org

doc/source/changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ The following module sub-commands appeared on Modules 5.
903903
+------------+-----------------------------------------------------------------+
904904
| 5.3 | :subcmd:`cachebuild`, :subcmd:`cacheclear` |
905905
+------------+-----------------------------------------------------------------+
906-
| 5.6 | :subcmd:`spider` |
906+
| 5.6 | :subcmd:`spider`, :subcmd:`update` |
907907
+------------+-----------------------------------------------------------------+
908908

909909
:subcmd:`list`

doc/source/module.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2892,6 +2892,14 @@ Module Sub-Commands
28922892
.. versionchanged:: 5.0
28932893
Accept several modulepaths passed as a single string
28942894

2895+
.. subcmd:: update [-f]
2896+
2897+
See :subcmd:`reload`.
2898+
2899+
.. only:: html
2900+
2901+
.. versionadded:: 5.6
2902+
28952903
.. subcmd:: use [-a|--append] directory...
28962904

28972905
Prepend one or more *directories* to the :envvar:`MODULEPATH` environment

doc/source/other-implementations.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ at the end of this section to map these equivalents.
9090

9191
* - Lmod 8.8
9292
- Modules 5.6
93-
* - ``category``, ``describe``, ``disable``, ``overview``, ``tablelist``,
94-
``update``
93+
* - ``category``, ``describe``, ``disable``, ``overview``, ``tablelist``
9594
- :subcmd:`aliases`, :subcmd:`append-path`, :subcmd:`cachebuild`,
9695
:subcmd:`cacheclear`, :subcmd:`clear`, :subcmd:`config`,
9796
:subcmd:`edit`, :subcmd:`info-loaded`, :subcmd:`initadd`,
@@ -169,8 +168,6 @@ implementation.
169168
- ``module`` :subcmd:`lint`
170169
* - ``module --config``
171170
- ``module`` :subcmd:`config`
172-
* - ``module update``
173-
- ``module`` :subcmd:`reload`
174171
* - ``$LMOD_CMD bash load``
175172
- ``module`` :subcmd:`mod-to-sh` ``bash``
176173
* - ``module --raw show``

tcl/report.tcl.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@ Loading / Unloading commands:
20552055
add-any | load-any modfile [...] Load first available modulefile in list
20562056
rm | unload modulefile [...] Remove modulefile(s)
20572057
purge Unload all loaded modulefiles
2058-
reload Unload then load all loaded modulefiles
2058+
reload | update Unload then load all loaded modulefiles
20592059
switch | swap [mod1] mod2 Unload mod1 and load mod2
20602060
refresh Refresh loaded module volatile components
20612061
reset Restore initial environment

0 commit comments

Comments
 (0)