Make qemu-img argument handling POSIX compliant
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6578 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
0921895137
commit
8f9b157e06
@ -865,7 +865,7 @@ int main(int argc, char **argv)
|
||||
if (argc < 2)
|
||||
help();
|
||||
cmd = argv[1];
|
||||
optind++;
|
||||
argc--; argv++;
|
||||
if (!strcmp(cmd, "create")) {
|
||||
img_create(argc, argv);
|
||||
} else if (!strcmp(cmd, "commit")) {
|
||||
|
Loading…
Reference in New Issue
Block a user