From: Wolfgang Bumiller Date: Wed, 26 Dec 2012 21:49:50 +0000 (+0100) Subject: fix -v option parsing in qcvm X-Git-Tag: before-library~480 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=93dbfa18f155aaf4f5356a8171ba65ab405f30ca;p=xonotic%2Fgmqcc.git fix -v option parsing in qcvm --- diff --git a/exec.c b/exec.c index 9ba0020..7931486 100644 --- a/exec.c +++ b/exec.c @@ -912,6 +912,8 @@ int main(int argc, char **argv) } else if (!strcmp(argv[1], "-v")) { ++opts_v; + --argc; + ++argv; } else if (!strncmp(argv[1], "-vv", 3)) { const char *av = argv[1]+1;