We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44ca7ac commit 6511982Copy full SHA for 6511982
doc/source/module.rst
@@ -2754,8 +2754,9 @@ Module Sub-Commands
2754
.. subcmd:: switch [options] [modulefile1] modulefile2
2755
2756
Switch loaded *modulefile1* with *modulefile2*. If *modulefile1* is not
2757
- specified, then it is assumed to be the currently loaded module with the
2758
- same root name as *modulefile2*.
+ specified, it is assumed to be the currently loaded module that shares the
+ same root name as *modulefile2*. The root name is defined as the initial part
2759
+ of a module name, i.e., all characters preceding the first ``/``.
2760
2761
:subcmd:`switch` command accepts the following options:
2762
0 commit comments