From 8a68314be7523150a16fb55fa13d63018dcc12d9 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Sun, 14 Jun 2020 03:10:31 -0700 Subject: [PATCH] Oops, --search definitely requires an argument --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 1fec6d3..582ec10 100644 --- a/src/main.c +++ b/src/main.c @@ -410,7 +410,7 @@ int main(int argc, char** argv) { }, { .name = "search", - .has_arg = no_argument, + .has_arg = required_argument, .flag = NULL, .val = 'Q' },