diff --git a/spiceterm.c b/spiceterm.c index be76107..3ff2d4f 100644 --- a/spiceterm.c +++ b/spiceterm.c @@ -1684,10 +1684,10 @@ main (int argc, char** argv) } if (optind < argc) { - command = argv[optind+1]; - cmdargv = &argv[optind+1]; + command = argv[optind]; + cmdargv = &argv[optind]; } - + spiceTerm *vt = spiceterm_create(744, 400, &opts); if (!vt) exit(-1);