about summary refs log tree commit diff
path: root/xlocate
diff options
context:
space:
mode:
Diffstat (limited to 'xlocate')
-rwxr-xr-xxlocate2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlocate b/xlocate
index 231b276..49b6ac5 100755
--- a/xlocate
+++ b/xlocate
@@ -82,6 +82,6 @@ if [ -d "$XLOCATE_GIT" ]; then
 		sed 's/^@://; s/:/\t/' | grep .
 else
 	echo "xlocate: database not found, using xbps-query." 1>&2
-	xbps-query --regex -Ro -- "$@" |
+	xbps-query --regex -Ro '.*'"$@" |
 		sed 's/ *([^)]*)$//; s/^\([^ ]*\)-[^-]*: /\1\t/'
 fi