From 7738fa97b365acfff6c4e83b6934456bdc8a7eca Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Sun, 24 Jan 2021 18:49:10 +0100 Subject: [PATCH] doc: desc. mcookie_version_check in INSTALL/diff --- INSTALL.rst | 11 +++++++++++ doc/source/diff_v3_v4.rst | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/INSTALL.rst b/INSTALL.rst index d6f5a9bd..78185bd1 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -516,6 +516,17 @@ instance :instopt:`--disable-set-manpath<--enable-set-manpath>`): .. versionadded:: 4.7 +.. instopt:: --enable-mcookie-version-check + + Enable check of the version specified right after Modules magic cookie + (``#%Module``) in modulefiles, which defines the minimal version of the + Modules tool to use in order to evaluate the modulefile. (default=yes) + + .. only:: html + + .. versionadded:: 4.7 + + Optional Packages (the default for each option is displayed within parenthesis, to disable an option replace ``with`` by ``without`` for instance :instopt:`--without-modulepath<--with-modulepath>`): diff --git a/doc/source/diff_v3_v4.rst b/doc/source/diff_v3_v4.rst index cb2af0ab..d18ebbf9 100644 --- a/doc/source/diff_v3_v4.rst +++ b/doc/source/diff_v3_v4.rst @@ -392,7 +392,8 @@ The following environment variables appeared on new version of Modules are not s +------------+-----------------------------------------------------------------+ | 4.7 | :envvar:`MODULES_SHELLS_WITH_KSH_FPATH`, | | | :envvar:`MODULES_IMPLICIT_REQUIREMENT`, :envvar:`MODULES_LMTAG`,| -| | :envvar:`MODULES_TAG_ABBREV`, :envvar:`MODULES_TAG_COLOR_NAME` | +| | :envvar:`MODULES_TAG_ABBREV`, :envvar:`MODULES_TAG_COLOR_NAME`, | +| | :envvar:`MODULES_MCOOKIE_VERSION_CHECK` | +------------+-----------------------------------------------------------------+