aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-search
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-search')
-rwxr-xr-xsrc/cpt-search2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpt-search b/src/cpt-search
index dbb4eff..5fb851d 100755
--- a/src/cpt-search
+++ b/src/cpt-search
@@ -17,4 +17,6 @@ eval "$(getoptions_help parser_definition usage "$0")"
parse "$@"
eval set -- "$REST"
+# The 'all' variable is set by the option parser.
+# shellcheck disable=2154
for pkg; do pkg_find "$pkg" "${all:+all}"; done