Changeset 37925 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Jul 13, 2011 3:31:10 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r37596 r37925 1254 1254 1255 1255 /** @todo the clipping below isn't 100% accurate, as it should 1256 * actually clip to the track size. However that's easier said1256 * actually clip to the track size. However, that's easier said 1257 1257 * than done as figuring out the track size is heuristics. In 1258 1258 * any case the clipping is adjusted later after sorting, to -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r37900 r37925 459 459 " --storagectl <name>\n" 460 460 " --port <number>\n" 461 " --device <number>\n"461 " [--device <number>]\n" 462 462 " [--type dvddrive|hdd|fdd]\n" 463 463 " [--medium none|emptydrive|\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r37824 r37925 75 75 HRESULT rc = S_OK; 76 76 ULONG port = ~0U; 77 ULONG device = ~0U;77 ULONG device = 0; /* device is optional, default is 0 */ 78 78 bool fForceUnmount = false; 79 79 bool fSetMediumType = false; … … 288 288 if (port == ~0U) 289 289 return errorSyntax(USAGE_STORAGEATTACH, "Port not specified"); 290 if (device == ~0U)291 return errorSyntax(USAGE_STORAGEATTACH, "Device not specified");292 290 293 291 /* get the virtualbox system properties */
Note:
See TracChangeset
for help on using the changeset viewer.