2
0
mirror of git://git.proxmox.com/git/spiceterm.git synced 2025-08-22 02:07:24 +00:00

fix option parser

This commit is contained in:
Dietmar Maurer 2013-10-31 07:57:39 +01:00
parent 300ace05e1
commit a91da126ce

View File

@ -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);