summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--scoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scoop.c b/scoop.c
index e22a08e..59adaff 100644
--- a/scoop.c
+++ b/scoop.c
@@ -470,7 +470,7 @@ int main(int argc, char *argv[]) {
 		}
 	}
 	if (optind < argc) {
-		queryAdd(SQL(search MATCH :search));
+		queryAdd(SQL(AND search MATCH :search));
 		binds[n++] = Bind(":search", argv[optind], 0);
 	}
 	if (limit) {
1'>Add c script to READMEJune McEnroe 2020-05-31Add c scriptJune McEnroe 2020-05-31Update mdoc source URLsJune McEnroe 2020-05-26Remove unfinished PSF fontsJune McEnroe