summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckDependencies8
1 files changed, 7 insertions, 1 deletions
diff --git a/checkDependencies b/checkDependencies
index b3d216d1..86da7163 100755
--- a/checkDependencies
+++ b/checkDependencies
@@ -239,4 +239,10 @@ version_comparisons=$(
fi
printf '\n'
done \
-| sort
+| sort \
+| if [ "$1" = '-m' ]; then
+ sed 's/^\(\S\+\) \S\+ (\(\S\+\)) .*$/--only \1:\2/' \
+ | sort -u
+else
+ cat
+fi