aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 1cd355c698..6f1e1ab71f 100644
--- a/vl.c
+++ b/vl.c
@@ -4819,6 +4819,7 @@ int main(int argc, char **argv, char **envp)
while (optind < argc) {
if (argv[optind][0] != '-') {
/* disk image */
+ optind++;
continue;
} else {
const QEMUOption *popt;