new feature: searchexclude
This commit is contained in:
parent
4931245db2
commit
58aab2ab6c
File diff suppressed because it is too large
Load Diff
7
vbm
7
vbm
|
@ -213,6 +213,8 @@ usage () {
|
|||
t "xbps-query -v -Rs"
|
||||
echo "search (s) <name> - Search for package by <name> (exclude multilib repo)"
|
||||
t "xbps-query -v -Rs"
|
||||
echo "searchexclude (se) <name> - Search for package by <name> (exclude multilib repo)"
|
||||
t "xbps-query -v -Rs"
|
||||
echo "searchfile (sf) <file> - Search for package containing <file> (local)"
|
||||
t "xbps-query -v -o \"*/$1\""
|
||||
echo "whatprovides (wp) <file> - Search for package containing <file>"
|
||||
|
@ -547,6 +549,11 @@ case "$cmd" in
|
|||
wrapcommand xbps-query -v -Rs "$*" | grep -v 32bit
|
||||
;;
|
||||
|
||||
searchexclude|se)
|
||||
msg -n "Searching for: $* "
|
||||
wrapcommand xbps-query -v -Rs "$@" | grep -v 32bit
|
||||
;;
|
||||
|
||||
cleanup|clean|cl)
|
||||
msg -n 'Remove obsolete packages in cachedir '
|
||||
rootcheck
|
||||
|
|
Loading…
Reference in New Issue