aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-02-04 09:13:14 +0000
committermerakor <cem@ckyln.com>2021-02-04 09:13:14 +0000
commit2895af49f379cc79441a79d0a77ad07646f38769 (patch)
treeb582d169b89123b7928c646a39efb51db815cbc5 /src
parent35eae466d69f619d3e2c8f931dcb74225d817b5f (diff)
downloadcpt-2895af49f379cc79441a79d0a77ad07646f38769.tar.gz
cpt-search: add option to ignore package database
FossilOrigin-Name: a7f5ddfe5f7fdc9ea329ed8175c3ad237e7a7460bcbb3de4855d2af3f233176b
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cpt-search1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpt-search b/src/cpt-search
index df27761..fbe0b04 100755
--- a/src/cpt-search
+++ b/src/cpt-search
@@ -4,6 +4,7 @@
parser_definition() {
setup REST help:usage -- "usage: ${0##*/} [pkg...]"
msg -- '' 'Options:'
+ flag SEARCH_PATH -d "on:$CPT_PATH" -- "Do not search the installed package database"
flag all -s --single init:=1 on:'' -- "Only show the first instance of a package"
flag others -o --others -- "Use the current directory as the package" \
"and show other instances"