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:
parent
300ace05e1
commit
a91da126ce
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user