From 8443a6effa3d4959596df8a3d3b47a31800dd40e Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Fri, 19 Jul 2024 10:09:24 -0500 Subject: [PATCH] Issue #715: update docs for when to use load_hook and load_spider() hook --- docs/source/170_hooks.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/170_hooks.rst b/docs/source/170_hooks.rst index bcf1f0139..69fdf99c9 100644 --- a/docs/source/170_hooks.rst +++ b/docs/source/170_hooks.rst @@ -95,7 +95,9 @@ used in the Lmod program. **load** (...): - This function is called after a modulefile is loaded in "load" mode. + This function is called after a modulefile is loaded in "load" + mode. Use **load_spider()** hook instead when desiring a hook during + spider evaluation. **unload** (...): This function is called after a modulefile is unloaded in "unload" mode.