Skip to content

Commit 4ac6d99

Browse files
committed
documentation updated
1 parent 004a8b0 commit 4ac6d99

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

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
@@ -5288,8 +5288,8 @@ ENVIRONMENT
52885288

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

5291-
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.
5292-
If set to 0, the environment variable is not modified when the entry already exists.
5291+
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.
5292+
If set to ``0``, the environment variable is not modified when the entry already exists.
52935293

52945294
Example:
52955295

0 commit comments

Comments
 (0)