Pmodules/modulecmd.bash.in:

- bugfix in 'module use' with out args
This commit is contained in:
2015-09-21 18:21:12 +02:00
parent 5b066ec182
commit cd810ab48f

View File

@@ -1157,8 +1157,12 @@ subcommand_use() {
done done
} }
if [[ $# == 0 ]]; then local opts=''
std::print_info opts=$(pmodules::get_options -- '' "$@") || subcommand_help_unuse
eval set -- "${opts}"
if [[ $# == 1 ]]; then
print_info
else else
use "$@" use "$@"
fi fi