mirror of
git://git.proxmox.com/git/spiceterm.git
synced 2025-08-29 05:17:37 +00:00
fix option parser
This commit is contained in:
parent
300ace05e1
commit
a91da126ce
@ -1684,10 +1684,10 @@ main (int argc, char** argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (optind < argc) {
|
if (optind < argc) {
|
||||||
command = argv[optind+1];
|
command = argv[optind];
|
||||||
cmdargv = &argv[optind+1];
|
cmdargv = &argv[optind];
|
||||||
}
|
}
|
||||||
|
|
||||||
spiceTerm *vt = spiceterm_create(744, 400, &opts);
|
spiceTerm *vt = spiceterm_create(744, 400, &opts);
|
||||||
if (!vt)
|
if (!vt)
|
||||||
exit(-1);
|
exit(-1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user