Commit Graph

2 Commits

Author SHA1 Message Date
Xavier Delaruelle
855f6d2827 Move 'module' to the per-mode evaluation interp
'module' modulefile command targets module procedure on load and unload
modes of modulefile evaluation. reportCmd is targeted on display mode.
For other modes a nop is targeted.

'module' command is now disabled on help, test and whatis mode which
stabilizes evaluation on these modes. On Modules v3, module command was
also disabled on all these query evaluation modes.
2018-04-24 15:17:44 +02:00
Xavier Delaruelle
713c337251 testsuite: add 151-module-onlytop in 50-cmds suite
Check module sub-commands that cannot be called within modulefile.
2017-11-26 15:27:28 +01:00