Skip to content

Commit

Permalink
Issue #715: update docs for when to use load_hook and load_spider() hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Jul 19, 2024
1 parent 9830868 commit 8443a6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/170_hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8443a6e

Please sign in to comment.