Skip to content

Commit

Permalink
doc: delimiter value allowed on {ap,pre}pend-path
Browse files Browse the repository at this point in the history
  • Loading branch information
xdelaruelle committed Jan 29, 2024
1 parent 159d2e6 commit c1378f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ Modules 5.4.0 (not yet released)
* When a *useless requirement unload* fails, do not increase error count as
this failure is reported as a warning and main unload process is not
affected.
* Path element equals to delimiter character is allowed on
:mfcmd:`append-path` and :mfcmd:`prepend-path` modulefile commands. (fix
issue #522)


.. _5.3 release notes:
Expand Down
5 changes: 5 additions & 0 deletions doc/source/modulefile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,9 @@ the *modulefile* is being loaded.
.. versionchanged:: 4.1
Option ``--duplicates`` added

.. versionchanged:: 5.4
*value* equal to *delimiter* character allowed

.. mfcmd:: prereq [--optional] [--tag taglist] modulefile...

:mfcmd:`prereq` controls whether or not the *modulefile* will be loaded. The
Expand Down Expand Up @@ -1088,6 +1091,8 @@ the *modulefile* is being loaded.
If *value* corresponds to the concatenation of multiple elements separated by
colon, or *delimiter*, character, each element is treated separately.

An error is raised if *value* equals *delimiter* character.

.. only:: html

.. versionchanged:: 4.1
Expand Down

0 comments on commit c1378f9

Please sign in to comment.