2
0
mirror of git://git.proxmox.com/git/spiceterm.git synced 2025-08-29 13:27:36 +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,8 +1684,8 @@ 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);