From e39d5d738575c4e784880651db00fdd8cf6c1595 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 18 Jan 2024 10:48:13 +0100 Subject: Terminate the longopts in grab.c with a null row --- src/grab.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/grab.c b/src/grab.c index b005c4a..aa95442 100644 --- a/src/grab.c +++ b/src/grab.c @@ -117,6 +117,7 @@ main(int argc, char **argv) {"help", no_argument, 0, 'h'}, {"newline", no_argument, 0, 'n'}, {"zero", no_argument, 0, 'z'}, + {nullptr, 0, 0, 0 }, }; #if GIT_GRAB -- cgit v1.2.3