Changeset 94217 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 14, 2022 8:56:53 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150473
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r94213 r94217 220 220 { "snapshot", USAGE_S_NEWCMD, HELP_CMD_SNAPSHOT, handleSnapshot, 0 }, 221 221 { "closemedium", USAGE_S_NEWCMD, HELP_CMD_CLOSEMEDIUM, handleCloseMedium, 0 }, 222 { "storageattach", USAGE_S TORAGEATTACH, VBMG_CMD_TODO, handleStorageAttach, 0 },222 { "storageattach", USAGE_S_NEWCMD,HELP_CMD_STORAGEATTACH, handleStorageAttach, 0 }, 223 223 { "storagectl", USAGE_S_NEWCMD, HELP_CMD_STORAGECTL, handleStorageController, 0 }, 224 224 { "showmediuminfo", USAGE_S_NEWCMD,HELP_CMD_SHOWMEDIUMINFO, handleShowMediumInfo, 0 }, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r94213 r94217 112 112 USAGE_I_CONVERTHD, 113 113 USAGE_I_DUMPHDINFO, 114 USAGE_STORAGEATTACH,115 114 USAGE_I_DEBUGLOG, 116 115 USAGE_I_SETHDPARENTUUID, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r94213 r94217 594 594 #define SEP pcszSep1, pcszSep2 595 595 596 if (enmCommand == USAGE_STORAGEATTACH || enmCommand == USAGE_S_ALL)597 RTStrmPrintf(pStrm,598 "%s storageattach %s <uuid|vmname>\n"599 " --storagectl <name>\n"600 " [--port <number>]\n"601 " [--device <number>]\n"602 " [--type dvddrive|hdd|fdd]\n"603 " [--medium none|emptydrive|additions|\n"604 " <uuid|filename>|host:<drive>|iscsi]\n"605 " [--mtype normal|writethrough|immutable|shareable|\n"606 " readonly|multiattach]\n"607 " [--comment <text>]\n"608 " [--setuuid <uuid>]\n"609 " [--setparentuuid <uuid>]\n"610 " [--passthrough on|off]\n"611 " [--tempeject on|off]\n"612 " [--nonrotational on|off]\n"613 " [--discard on|off]\n"614 " [--hotpluggable on|off]\n"615 " [--bandwidthgroup <name>]\n"616 " [--forceunmount]\n"617 " [--server <name>|<ip>]\n"618 " [--target <target>]\n"619 " [--tport <port>]\n"620 " [--lun <lun>]\n"621 " [--encodedlun <lun>]\n"622 " [--username <username>]\n"623 " [--password <password>]\n"624 " [--passwordfile <file>]\n"625 " [--initiator <initiator>]\n"626 " [--intnet]\n"627 "\n", SEP);628 629 596 if (enmCommand == USAGE_MODIFYMEDIUM || enmCommand == USAGE_S_ALL) 630 597 RTStrmPrintf(pStrm, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r94179 r94217 316 316 default: 317 317 { 318 errorGetOpt( USAGE_STORAGEATTACH,c, &ValueUnion);318 errorGetOpt(c, &ValueUnion); 319 319 rc = E_FAIL; 320 320 break; … … 327 327 328 328 if (!pszCtl) 329 return errorSyntax( USAGE_STORAGEATTACH,Storage::tr("Storage controller name not specified"));329 return errorSyntax(Storage::tr("Storage controller name not specified")); 330 330 331 331 /* get the virtualbox system properties */ … … 370 370 port = 0; 371 371 else 372 return errorSyntax( USAGE_STORAGEATTACH,Storage::tr("Port not specified"));372 return errorSyntax(Storage::tr("Port not specified")); 373 373 } 374 374 if (device == ~0U) … … 377 377 device = 0; 378 378 else 379 return errorSyntax( USAGE_STORAGEATTACH,Storage::tr("Device not specified"));379 return errorSyntax(Storage::tr("Device not specified")); 380 380 } 381 381
Note:
See TracChangeset
for help on using the changeset viewer.