Changeset 90214 in vbox for trunk/src/VBox
- Timestamp:
- Jul 15, 2021 3:10:55 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk
r88363 r90214 105 105 $(if $(VBOX_WITH_NAT_SERVICE),../../NetworkServices/NetLib/VBoxNetPortForwardString.cpp,) \ 106 106 VBoxManageCloud.cpp \ 107 VBoxManageCloudMachine.cpp \ 107 108 ../Common/PasswordInput.cpp 108 109 VBoxManage_SOURCES.win = \ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageCloud.cpp
r87278 r90214 41 41 42 42 using namespace com;//at least for Bstr 43 44 45 /* 46 * "cloud machine" handling is in VBoxManageCloudMachine.cpp to make 47 * this file less crowded. 48 */ 49 RTEXITCODE handleCloudMachine(HandlerArg *a, int iFirst, const ComPtr<ICloudProfile> &pCloudProfile); 50 RTEXITCODE listCloudMachines(HandlerArg *a, int iFirst, const ComPtr<ICloudProfile> &pCloudProfile); 51 43 52 44 53 /** … … 453 462 { "objects", 1005, RTGETOPT_REQ_NOTHING }, 454 463 { "help", 1006, RTGETOPT_REQ_NOTHING }, 455 { "--help", 1007, RTGETOPT_REQ_NOTHING } 464 { "--help", 1007, RTGETOPT_REQ_NOTHING }, 465 { "machines", 1008, RTGETOPT_REQ_NOTHING } 456 466 }; 457 467 … … 476 486 printHelp(g_pStdOut); 477 487 return RTEXITCODE_SUCCESS; 488 489 case 1008: /* machines */ 490 return listCloudMachines(a, GetState.iNext, 491 pCommonOpts->profile.pCloudProfile); 492 478 493 case VINF_GETOPT_NOT_OPTION: 479 494 return errorUnknownSubcommand(ValueUnion.psz); … … 2748 2763 { "network", 1003, RTGETOPT_REQ_NOTHING }, 2749 2764 { "volume", 1004, RTGETOPT_REQ_NOTHING }, 2750 { "object", 1005, RTGETOPT_REQ_NOTHING } 2765 { "object", 1005, RTGETOPT_REQ_NOTHING }, 2766 { "machine", 1006, RTGETOPT_REQ_NOTHING } 2751 2767 }; 2752 2768 … … 2779 2795 return handleCloudNetwork(a, GetState.iNext, &commonOpts); 2780 2796 #endif /* VBOX_WITH_CLOUD_NET */ 2797 case 1006: 2798 return handleCloudMachine(a, GetState.iNext, 2799 commonOpts.profile.pCloudProfile); 2800 2781 2801 case VINF_GETOPT_NOT_OPTION: 2782 2802 return errorUnknownSubcommand(ValueUnion.psz);
Note:
See TracChangeset
for help on using the changeset viewer.