Changeset 23809 in vbox
- Timestamp:
- Oct 15, 2009 4:07:58 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53552
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r23807 r23809 352 352 { 353 353 RTPrintf("VBoxManage attachdisk <uuid|vmname>\n" 354 " --type <dvd|hdd|f loppy>\n"354 " --type <dvd|hdd|fdd>\n" 355 355 " --file <null|none|uuid|filename|host:<drive>>\n" 356 356 " --controller <name>\n" … … 363 363 { 364 364 RTPrintf("VBoxManage storagectl <uuid|vmname>\n" 365 " -- storagectl<name>\n"365 " --name <name>\n" 366 366 " [--add <ide/sata/scsi/floppy>]\n" 367 " [-- type<LsiLogic/BusLogic/IntelAhci/PIIX3/PIIX4/ICH6/I82078>]\n"367 " [--controller <LsiLogic/BusLogic/IntelAhci/PIIX3/PIIX4/ICH6/I82078>]\n" 368 368 " [--passthrough <on|off> --port <number> --device <number>]\n" 369 369 " [--sataideemulation<1-4> <1-30>]\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r23802 r23809 85 85 switch (c) 86 86 { 87 case 't': // type <dvd|hdd|f loppy>87 case 't': // type <dvd|hdd|fdd> 88 88 { 89 89 if (ValueUnion.psz) … … 330 330 } 331 331 } 332 else if (!RTStrICmp(pszType, "f loppy"))332 else if (!RTStrICmp(pszType, "fdd")) 333 333 { 334 334 ComPtr<IMediumAttachment> floppyAttachment; … … 419 419 static const RTGETOPTDEF g_aStorageControllerOptions[] = 420 420 { 421 { "-- storagectl", 's', RTGETOPT_REQ_STRING },421 { "--name", 'n', RTGETOPT_REQ_STRING }, 422 422 { "--add", 'a', RTGETOPT_REQ_STRING }, 423 { "-- type",'t', RTGETOPT_REQ_STRING },423 { "--controller", 't', RTGETOPT_REQ_STRING }, 424 424 { "--port", 'p', RTGETOPT_REQ_UINT32 }, 425 425 { "--device", 'd', RTGETOPT_REQ_UINT32 }, … … 461 461 switch (c) 462 462 { 463 case ' s': // controller name463 case 'n': // controller name 464 464 { 465 465 if (ValueUnion.psz) … … 479 479 } 480 480 481 case 't': // type<lsilogic/buslogic/intelahci/piix3/piix4/ich6/i82078>481 case 't': // controller <lsilogic/buslogic/intelahci/piix3/piix4/ich6/i82078> 482 482 { 483 483 if (ValueUnion.psz)
Note:
See TracChangeset
for help on using the changeset viewer.