modulecmd: help for aliases fixed

This commit is contained in:
2022-09-13 19:21:26 +02:00
parent debde9c152
commit 0d5f4dcb18
+3
View File
@@ -2909,6 +2909,9 @@ if [[ -z ${Version} ]] || [[ ${Version} != ${PMODULES_VERSION} ]]; then
_LMFILES_
fi
# we need to handle help text and options for sub-cmd aliases
subcommand=${Subcommands[${subcommand}]}
# We need a tmp-file in the following sub-commands. It will be removed
# in the exit function if exists.
case ${subcommand} in