From 838a22f7eeab43a421d437ad52f633cb19b34393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Simon?= Date: Wed, 26 Jun 2019 23:22:20 +0200 Subject: [PATCH] Fix argument requirement in getopt_long --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 65ef845..1ab1643 100644 --- a/main.c +++ b/main.c @@ -40,7 +40,7 @@ int main(int argc, char *argv[]) { int flags = 0; int c = 0; - while ((c = getopt_long(argc, argv, "f:e:pmst", options, NULL)) != -1) { + while ((c = getopt_long(argc, argv, "fepmst", options, NULL)) != -1) { switch (c) { case 'p': flags |= FLAG_PRETTY_PRINT;