@@ -40,15 +40,17 @@ A user may wish to go back to an initial set of modules::
40
40
41
41
$ module reset
42
42
43
- This will purge all currently loaded modules then load the list of
44
- modules specified by LMOD_SYSTEM_DEFAULT_MODULES. There is a related
43
+ This will unload all currently loaded modules, including the sticky
44
+ ones, then load the list of modules specified by
45
+ LMOD_SYSTEM_DEFAULT_MODULES. There is a related
45
46
command::
46
47
47
48
$ module restore
48
49
49
- This command will also purge all currently loaded modules and then
50
- load the system default unless the user has a default collection.
51
- See :ref: `user_collections-label ` for more details.
50
+ This command will also unload all currently loaded modules, including
51
+ the sticky ones, and then load the system default unless the user has
52
+ a default collection. See :ref: `user_collections-label ` for more
53
+ details.
52
54
53
55
If a module is not available then an error message is produced::
54
56
@@ -386,9 +388,10 @@ and only the desired modules will be loaded. If Lmod is setup
386
388
correctly (see :ref: `startup_w_stdenv-label `) then the default
387
389
collection will be the user's initial set of modules.
388
390
389
- If a user doesn't have a default collection, the Lmod purges all
390
- currently loaded modules and loads the list of module specified by
391
- LMOD_SYSTEM_DEFAULT_MODULES just like the ``module reset `` command.
391
+ If a user doesn't have a default collection, the Lmod purges ALL
392
+ currently loaded modules, including the sticky ones, and loads the
393
+ list of module specified by LMOD_SYSTEM_DEFAULT_MODULES just like the
394
+ ``module reset `` command.
392
395
393
396
Users can have as many collections as they like. They can save to a
394
397
named collection with::
0 commit comments