Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Pmodules
buildblocks
Commits
cd810ab4
Commit
cd810ab4
authored
Sep 21, 2015
by
gsell
Browse files
Pmodules/modulecmd.bash.in:
- bugfix in 'module use' with out args
parent
5b066ec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Bootstrap/Pmodules/modulecmd.bash.in
Bootstrap/Pmodules/modulecmd.bash.in
+6
-2
No files found.
Bootstrap/Pmodules/modulecmd.bash.in
View file @
cd810ab4
...
...
@@ -1156,9 +1156,13 @@ subcommand_use() {
subcommand_generic1 use
${
subcommand_switches
}
"
${
dir
}
"
done
}
local
opts
=
''
opts
=
$(
pmodules::get_options
--
''
"
$@
"
)
||
subcommand_help_unuse
eval set
--
"
${
opts
}
"
if
[[
$#
==
0
]]
;
then
std::
print_info
if
[[
$#
==
1
]]
;
then
print_info
else
use
"
$@
"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment