Skip to content

Conversation

xdelaruelle
Copy link
Contributor

The "module-help" modulefile command has been introduced in Environment Modules 5.6 to provide a way to define help messages simpler than the traditional ModulesHelp procedure, like achieved on Lua modulefiles with the "help()" function.

This commit adds "module-help" support for Tcl modulefiles and make it map to the "help()" Lua function when translated by tcl2lua.tcl.

The "module-help" modulefile command has been introduced in Environment
Modules 5.6 to provide a way to define help messages simpler than the
traditional ModulesHelp procedure, like achieved on Lua modulefiles with
the "help()" function.

This commit adds "module-help" support for Tcl modulefiles and make it
map to the "help()" Lua function when translated by tcl2lua.tcl.

Signed-off-by: Xavier Delaruelle <[email protected]>
@rtmclay rtmclay merged commit 8c914ba into TACC:main Aug 6, 2025
8 of 9 checks passed
@rtmclay
Copy link
Member

rtmclay commented Aug 6, 2025

Thanks very much for this PR. I am impressed that you were able to change tcl2lua.tcl and especially update the rt/tclmodules regression test. Thanks!. This has been merged into the main branch and will be part of the next release of Lmod.

@xdelaruelle
Copy link
Contributor Author

@rtmclay your Lmod Regression Testing Guide is very clear and it was quite straightforward to add new tests after finding tclmodules regression directory. Many thanks for the quick merge.

@xdelaruelle xdelaruelle deleted the module-help branch August 7, 2025 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants