Commit 8fae38b2 authored by gsell's avatar gsell
Browse files

Merge branch...

Merge branch '39-with-option-in-sub-command-search-should-accept-space-comma-or-colon-separated-list' into 'master'

Resolve "--with option in sub-command search should accept space, comma or colon separated list"

Closes #39

See merge request !10
parents 54eeae4d 21beab1a
......@@ -1572,7 +1572,11 @@ subcommand_search() {
std::die 1 "%s %s: illegal value for --with option -- %s\n" \
"${CMD}" 'search' "${arg}"
with_modules+=" && / ${arg//\//\\/}/"
arg=${arg//:/ }
arg=${arg//,/ }
for module in ${arg}; do
with_modules+=" && / ${module//\//\\/}/"
-a | --all-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