Fixing section on spider authored by Marc-André Hermanns's avatar Marc-André Hermanns
...@@ -38,28 +38,23 @@ If you don't know how a specific module is called or a module is currently not v ...@@ -38,28 +38,23 @@ If you don't know how a specific module is called or a module is currently not v
```sh ```sh
> module spider foo > module spider foo
> module spider foo/1.2.3
``` ```
**Note:** *Searching for a module with `spider` is case in-sensitive and also returns partial matches (the search argument is part of an existing module). Further note that `spider` searches in the module name and the description.* **Note:** *Searching for a module with `spider` is case in-sensitive and also returns partial matches (the search argument is part of an existing module). Further note that `spider` searches in the module name and the description.*
To unload a module and load a module with one call, you can use the `switch` option. When called with only with the module name and no specific version, the output of `spider` lists all available version across all toolchains. When called with a specific version, the output lists toolchains that will make it available.
```sh ```sh
> module switch foo bar > module spider foo/1.2.3
``` ```
**NOTE:** *LMOD automatically unloads conflicting modules and inactivates modules that are no longer available.* To unload a module and load a module with one call, you can use the `switch` option.
```sh ```sh
> module spider foo > module switch foo bar
``` ```
When called with only with the module name and no specific version, the output of `spider` lists all available version across all toolchains. When called with a specific version, the output lists toolchains that will make it available. **NOTE:** *LMOD automatically unloads conflicting modules and inactivates modules that are no longer available.*
```sh
> module spider foo/1.2.3
```
If you want to reset the module environment to the system default, you can use the `reset` option. If you want to reset the module environment to the system default, you can use the `reset` option.
... ...
......