diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-01-25 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-01-25 00:00:00 +0000 |
commit | 97715dbef6a054d6c92f845c318883ce532ca5d11b1d73d189d0e404651c29df (patch) | |
tree | 3e00e007e0d701c928a6818ed72f5fb493a9bb60bc6a1bb2d9749fc27efd1b26 | |
parent | fa3f93285c5af717b620eb713b6c5f40dfe60da5f0d88b4243b951890d30d98c (diff) |
Terminate option array with all zeros
-rw-r--r-- | gemini2html.1 | 2 | ||||
-rw-r--r-- | src/main.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gemini2html.1 b/gemini2html.1 index ec7ad07..f0773e7 100644 --- a/gemini2html.1 +++ b/gemini2html.1 @@ -1,4 +1,4 @@ -.TH GEMINI2HTML "1" "January 2022" "gemini2html v1.2.0" +.TH GEMINI2HTML "1" "January 2022" "gemini2html v1.2.1" .SH NAME gemini2html \- convert gemini text to HTML .SH SYNOPSIS @@ -23,7 +23,7 @@ #include "gemini2html.h" -#define VERSION "1.2.0" +#define VERSION "1.2.1" /* displays the help menu */ void display_help_text(char* prog) { @@ -51,6 +51,7 @@ int main(int argc, char* argv[]) { static struct option long_options[] = { {"help", no_argument, 0, 'h'}, {"version", no_argument, 0, 'v'}, + {0, 0, 0, 0} }; int option_index = 0; |