Skip to content

Commit

Permalink
doc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Mar 11, 2024
1 parent a0e9dd4 commit fa25724
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/source/170_hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,10 @@ Registering Multiple Hook functions
-----------------------------------

Lmod 8.7.35+ supports sites registering multiple functions for a
single hook. For example, a site may wish to register more than one
load hook. The function **hook.register()** now takes an optional
third argument to control how the functions are evaluated::
single hook. The function **hook.register()** now takes an optional
third argument to control how the functions are evaluated.
For example, a site may wish to register more than one
load hook::

local function load_hook_a(t)
local frameStk = require("FrameStk"):singleton()
Expand Down

0 comments on commit fa25724

Please sign in to comment.