Skip to content

Commit 38ae20e

Browse files
committed
doc: fix mode-select design description
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent 9f8a187 commit 38ae20e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/source/design/mode-select.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Proposition is to add a ``--mode`` option on concerned Tcl modulefile
3434
commands. This ``--mode`` option accepts a Tcl as value, for instance:
3535

3636
* ``--mode load``
37-
* ``--module {load unload}``
37+
* ``--mode {load unload}``
3838

3939
Concerned Tcl modulefile commands are:
4040

@@ -45,6 +45,9 @@ Concerned Tcl modulefile commands are:
4545
* ``remove-path``
4646
* ``pushenv``
4747
* ``module load``
48+
* ``module load-any``
49+
* ``module try-load``
50+
* ``module unload``
4851

4952
Support in Modules
5053
------------------
@@ -54,12 +57,12 @@ if someone shows up and expresses a need.
5457

5558
The implementation of this feature for the ``module load`` command may be
5659
non-trivial: currently when unloading modules, only modulefile unloads are
57-
expected.. Dependency resolution mechanism is expecting to have all the
60+
expected. Dependency resolution mechanism is expecting to have all the
5861
properties of the system when starting by looking at the loaded environment.
5962
Adding the ability to throw modulefile loads during this unload process
6063
requires to revise the current dependency resolution mechanism.
6164

6265
Due to that, implementation if asked may first be done only for modulefile Tcl
63-
commands others than ``module load``.
66+
commands others than ``module``.
6467

6568
.. vim:set tabstop=2 shiftwidth=2 expandtab autoindent:

0 commit comments

Comments
 (0)