Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try fixing the mac problema ...
Browse files Browse the repository at this point in the history
tsjensen committed Jun 8, 2024

Verified

This commit was signed with the committer’s verified signature.
tsjensen Thomas Jensen
1 parent 9e7256c commit 47b315f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/cmdline.c
Original file line number Diff line number Diff line change
@@ -733,6 +733,7 @@ opt_t *process_commandline(int argc, char *argv[])
};
const char *short_options = "a:c:d:e:f:hi:k:lmn:p:q:rs:t:vx:";

char *s;
int oc; /* option character */
do {
oc = getopt_long(argc, argv, short_options, long_options, &option_index);
@@ -861,13 +862,11 @@ opt_t *process_commandline(int argc, char *argv[])
break;

case 'v':
char *remove_me = optarg;
UNUSED(remove_me);
result->version_requested = 1; /* print version number */
return result;

case 'x':
char *s = optarg;
s = optarg;
if (strncmp(s, EXTRA_UNDOC, strlen(EXTRA_UNDOC)) == 0) {
result->qundoc = 1;
s += strlen(EXTRA_UNDOC);

0 comments on commit 47b315f

Please sign in to comment.