From e4e21ebd5524660177d0cb86950abf76eb38f3bb Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 28 Jul 2022 16:20:09 +0200 Subject: [PATCH] modulecmd: add 'find' as alias of sub-cmd 'search' In the Tcl Environment Module version 4 and newer the sub-cmds 'appropos' and 'keyword' have been replaced by the sub-cmd 'search'. Thsi conflicts with Pmodules 'search' sub-cmd. In the future we might have to rename the 'search' sub-cmd to 'find'. --- Pmodules/modulecmd.bash.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 32c52d7..0c25562 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -2859,6 +2859,9 @@ case ${subcommand} in rm ) subcommand='unload' ;; + find ) + subcommand='search' + ;; switch ) subcommand='swap' ;;