- Timestamp:
- Sep 23, 2019 11:56:31 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageCloud.cpp
r80939 r80948 478 478 { "--subnet", 't', RTGETOPT_REQ_STRING }, 479 479 { "--privateip", 'P', RTGETOPT_REQ_STRING }, 480 { "--launch", 'l', RTGETOPT_REQ_STRING }, 480 481 }; 481 482 RTGETOPTSTATE GetState; … … 495 496 496 497 Utf8Str strDisplayName, strImageId; 497 498 498 int c; 499 499 while ((c = RTGetOpt(&GetState, &ValueUnion)) != 0) … … 528 528 Bstr(ValueUnion.psz).raw()); 529 529 break; 530 531 530 case 'b': 532 531 pVSD->AddDescription(VirtualSystemDescriptionType_CloudBootDiskSize, … … 549 548 Bstr(ValueUnion.psz).raw()); 550 549 break; 550 case 'l': 551 { 552 Utf8Str strLaunch(ValueUnion.psz); 553 if (strLaunch.isNotEmpty() && (strLaunch.equalsIgnoreCase("true") || strLaunch.equalsIgnoreCase("false"))) 554 pVSD->AddDescription(VirtualSystemDescriptionType_CloudLaunchInstance, 555 Bstr(ValueUnion.psz).raw(), 556 Bstr(ValueUnion.psz).raw()); 557 break; 558 } 551 559 case VINF_GETOPT_NOT_OPTION: 552 560 return errorUnknownSubcommand(ValueUnion.psz);
Note:
See TracChangeset
for help on using the changeset viewer.