Commit 6d437495 authored by gsell's avatar gsell
Browse files

Merge branch '48-output-group-in-load-hints' into 'master'

Resolve "output group in load hints"

Closes #48

See merge request !18
parents bae1da62 04eea80f
......@@ -336,6 +336,10 @@ subcommand_load() {
if [[ ! ":${UsedReleases}:" =~ "${release}" ]]; then
output+="module use ${release}; "
fi
local group=${line[2]}
if [[ ! ":${UsedGroups}:" =~ ":${group}:" ]]; then
output+="module use ${group}; "
fi
output+="module load ${line[@]:3} ${line[0]}\n"
done < <(subcommand_search "${m}" -a --no-header 2>&1)
if [[ -n "${output}" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment