VirtualBox

Changeset 23809 in vbox


Ignore:
Timestamp:
Oct 15, 2009 4:07:58 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53552
Message:

VBoxManage: storagectl => name, floppy => fdd, type => controller

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r23807 r23809  
    352352    {
    353353        RTPrintf("VBoxManage attachdisk       <uuid|vmname>\n"
    354                  "                            --type <dvd|hdd|floppy>\n"
     354                 "                            --type <dvd|hdd|fdd>\n"
    355355                 "                            --file <null|none|uuid|filename|host:<drive>>\n"
    356356                 "                            --controller <name>\n"
     
    363363    {
    364364        RTPrintf("VBoxManage storagectl       <uuid|vmname>\n"
    365                  "                            --storagectl <name>\n"
     365                 "                            --name <name>\n"
    366366                 "                            [--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"
    368368                 "                            [--passthrough <on|off> --port <number> --device <number>]\n"
    369369                 "                            [--sataideemulation<1-4> <1-30>]\n"
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp

    r23802 r23809  
    8585        switch (c)
    8686        {
    87             case 't':   // type <dvd|hdd|floppy>
     87            case 't':   // type <dvd|hdd|fdd>
    8888            {
    8989                if (ValueUnion.psz)
     
    330330        }
    331331    }
    332     else if (!RTStrICmp(pszType, "floppy"))
     332    else if (!RTStrICmp(pszType, "fdd"))
    333333    {
    334334        ComPtr<IMediumAttachment> floppyAttachment;
     
    419419static const RTGETOPTDEF g_aStorageControllerOptions[] =
    420420{
    421     { "--storagectl",       's', RTGETOPT_REQ_STRING },
     421    { "--name",             'n', RTGETOPT_REQ_STRING },
    422422    { "--add",              'a', RTGETOPT_REQ_STRING },
    423     { "--type",             't', RTGETOPT_REQ_STRING },
     423    { "--controller",       't', RTGETOPT_REQ_STRING },
    424424    { "--port",             'p', RTGETOPT_REQ_UINT32 },
    425425    { "--device",           'd', RTGETOPT_REQ_UINT32 },
     
    461461        switch (c)
    462462        {
    463             case 's':   // controller name
     463            case 'n':   // controller name
    464464            {
    465465                if (ValueUnion.psz)
     
    479479            }
    480480
    481             case 't':   // type <lsilogic/buslogic/intelahci/piix3/piix4/ich6/i82078>
     481            case 't':   // controller <lsilogic/buslogic/intelahci/piix3/piix4/ich6/i82078>
    482482            {
    483483                if (ValueUnion.psz)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette