aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-18 10:48:13 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-18 10:48:13 +0100
commite39d5d738575c4e784880651db00fdd8cf6c1595 (patch)
treefccc14540b2cd3c5bc3305ea30b135901daddf4b /src
parent254310929ecb9c8e5a63f68b8c293c742583f62b (diff)
Terminate the longopts in grab.c with a null row
Diffstat (limited to 'src')
-rw-r--r--src/grab.c1
1 files changed, 1 insertions, 0 deletions
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