Skip to content

Commit 2e65696

Browse files
committed
documentation updated
Signed-off-by: Achim Gsell <achim.gsell@psi.ch>
1 parent 7e163e7 commit 2e65696

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

doc/source/changes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,6 +1279,8 @@ The following Modules configuration option has been introduced on Modules 5.
12791279
| 5.6 | :mconfig:`spider_output`, :mconfig:`spider_terse_output`, |
12801280
| | :mconfig:`spider_indepth`, :mconfig:`require_via` |
12811281
+------------+-----------------------------------------------------------------+
1282+
| 5.7 | :mconfig:`path_entry_reorder` |
1283+
+------------+-----------------------------------------------------------------+
12821284

12831285
:mconfig:`auto_handling`
12841286

doc/source/module.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@ Module Sub-Commands
13761376
:mfcmd:`prepend-path`, :mfcmd:`append-path` or :subcmd:`use` target
13771377
a path entry that is already defined in the environment variable.
13781378

1379-
Default value is 0. It can be changed at installation time with the
1379+
Default value is ``0``. It can be changed at installation time with the
13801380
:instopt:`--with-path-entry-reorder` option. The
13811381
:envvar:`MODULES_PATH_ENTRY_REORDER` environment variable is defined by
13821382
:subcmd:`config` sub-command when changing this configuration option from
@@ -5295,8 +5295,8 @@ ENVIRONMENT
52955295

52965296
This environment variable changes the behavior of :mfcmd:`prepend-path`, :mfcmd:`append-path` and :subcmd:`use`.
52975297

5298-
If set to 1, and one of these commands targets a path entry that already exists in the environment variable, the entry is moved to the beginning or end (depending on the command), unless duplicates are allowed. This is the default behavior in Lmod.
5299-
If set to 0, the environment variable is not modified when the entry already exists.
5298+
If set to ``1``, and one of these commands targets a path entry that already exists in the environment variable, the entry is moved to the beginning or end (depending on the command), unless duplicates are allowed. This is the default behavior in Lmod.
5299+
If set to ``0``, the environment variable is not modified when the entry already exists.
53005300

53015301
Example:
53025302

0 commit comments

Comments
 (0)