Changeset 94179 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 11, 2022 4:43:01 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r94177 r94179 221 221 { "closemedium", USAGE_S_NEWCMD, HELP_CMD_CLOSEMEDIUM, handleCloseMedium, 0 }, 222 222 { "storageattach", USAGE_STORAGEATTACH, VBMG_CMD_TODO, handleStorageAttach, 0 }, 223 { "storagectl", USAGE_S TORAGECONTROLLER,VBMG_CMD_TODO, handleStorageController, 0 },223 { "storagectl", USAGE_S_NEWCMD, HELP_CMD_STORAGECTL, handleStorageController, 0 }, 224 224 { "showmediuminfo", USAGE_SHOWMEDIUMINFO, VBMG_CMD_TODO, handleShowMediumInfo, 0 }, 225 225 { "showhdinfo", USAGE_SHOWMEDIUMINFO, VBMG_CMD_TODO, handleShowMediumInfo, 0 }, /* backward compatibility */ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r94177 r94179 126 126 USAGE_I_DUMPHDINFO, 127 127 USAGE_STORAGEATTACH, 128 USAGE_STORAGECONTROLLER,129 128 #ifdef VBOX_WITH_GUEST_CONTROL 130 129 USAGE_GUESTCONTROL, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r94177 r94179 625 625 "\n", SEP); 626 626 627 if (enmCommand == USAGE_STORAGECONTROLLER || enmCommand == USAGE_S_ALL)628 RTStrmPrintf(pStrm,629 "%s storagectl %s <uuid|vmname>\n"630 " --name <name>\n"631 " [--add ide|sata|scsi|floppy|sas|usb|pcie|virtio]\n"632 " [--controller LSILogic|LSILogicSAS|BusLogic|\n"633 " IntelAHCI|PIIX3|PIIX4|ICH6|I82078|\n"634 " [ USB|NVMe|VirtIO]\n"635 " [--portcount <1-n>]\n"636 " [--hostiocache on|off]\n"637 " [--bootable on|off]\n"638 " [--rename <name>]\n"639 " [--remove]\n"640 "\n", SEP);641 642 627 if (enmCommand == USAGE_BANDWIDTHCONTROL || enmCommand == USAGE_S_ALL) 643 628 RTStrmPrintf(pStrm, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r93115 r94179 990 990 991 991 if (a->argc < 4) 992 return errorSyntax( USAGE_STORAGECONTROLLER,Storage::tr("Too few parameters"));992 return errorSyntax(Storage::tr("Too few parameters")); 993 993 994 994 RTGetOptInit (&GetState, a->argc, a->argv, g_aStorageControllerOptions, … … 1036 1036 1037 1037 default: 1038 return errorGetOpt( USAGE_STORAGECONTROLLER,c, &ValueUnion);1038 return errorGetOpt(c, &ValueUnion); 1039 1039 } 1040 1040 } … … 1056 1056 /* it's important to always close sessions */ 1057 1057 a->session->UnlockMachine(); 1058 return errorSyntax( USAGE_STORAGECONTROLLER,Storage::tr("Storage controller name not specified\n"));1058 return errorSyntax(Storage::tr("Storage controller name not specified\n")); 1059 1059 } 1060 1060
Note:
See TracChangeset
for help on using the changeset viewer.