Browse code

Fix -eQUERY invocation

John Hawthorn authored on 20/08/2014 04:43:14
Showing 1 changed files

  • fzy.c index dcd8f3f..311dd94 100644
... ...
@@ -244,7 +244,7 @@ static struct option longopts[] = {
244 244
 int main(int argc, char *argv[]){
245 245
 	char *initial_query = NULL;
246 246
 	char c;
247
-	while((c = getopt_long(argc, argv, "vhs", longopts, NULL)) != -1){
247
+	while((c = getopt_long(argc, argv, "vhse:", longopts, NULL)) != -1){
248 248
 		switch(c){
249 249
 			case 'v':
250 250
 				printf("%s " VERSION " (c) 2014 John Hawthorn\n", argv[0]);