Commit 21beab1a authored by gsell's avatar gsell
Browse files

--with option of sub-command now accepts lists of modules

parent 54eeae4d
......@@ -1572,7 +1572,11 @@ subcommand_search() {
std::die 1 "%s %s: illegal value for --with option -- %s\n" \
"${CMD}" 'search' "${arg}"
fi
with_modules+=" && / ${arg//\//\\/}/"
arg=${arg//:/ }
arg=${arg//,/ }
for module in ${arg}; do
with_modules+=" && / ${module//\//\\/}/"
done
;;
-a | --all-releases )
opt_use_releases="${PMODULES_DEFINED_RELEASES}"
......
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