Skip to content

Commit 2115af5

Browse files
committed
Update gmt_api.c
1 parent efdf3af commit 2115af5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gmt_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13010,6 +13010,7 @@ GMT_LOCAL int gmtapi_extract_argument (char *optarg, char *argument, char **key,
1301013010
}
1301113011
else
1301213012
strcpy (argument, inarg);
13013+
if (!argument[0]) *takes_mod = 2; /* Flag that option is missing the arg and needs it later */
1301313014
}
1301413015
else
1301513016
strcpy (argument, inarg);

0 commit comments

Comments
 (0)