VirtualBox

Changeset 94179 in vbox


Ignore:
Timestamp:
Mar 11, 2022 4:43:01 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150435
Message:

doc/manual,FE/VBoxManage: Convert storagectl command to refentry documentation, bugref:9186

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/Config.kmk

    r94177 r94179  
    6464        man_VBoxManage-discardstate.xml \
    6565        man_VBoxManage-adoptstate.xml \
    66         man_VBoxManage-closemedium.xml
     66        man_VBoxManage-closemedium.xml \
     67        man_VBoxManage-storagectl.xml
    6768
    6869## List of user manual XML files.
  • trunk/doc/manual/en_US/man_VBoxManage-storagectl.xml

    r82969 r94179  
    2020<refentry id="vboxmanage-storagectl" lang="en">
    2121  <refentryinfo>
    22     <pubdate>August 2019</pubdate>
     22    <pubdate>$Date$</pubdate>
    2323    <title>VBoxManage storagectl</title>
    2424  </refentryinfo>
     
    3232    <refname>VBoxManage-storagectl</refname>
    3333    <refpurpose>manage a storage controller</refpurpose>
    34     <refclass>Oracle VM VirtualBox</refclass>
     34    <refclass>&product-name;</refclass>
    3535  </refnamediv>
    3636
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r94177 r94179  
    925925  </sect1>
    926926
     927  <xi:include href="user_man_VBoxManage-storagectl.xml"    xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
     928
    927929  <sect1 id="vboxmanage-storagectl">
    928930
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r94177 r94179  
    221221    { "closemedium",        USAGE_S_NEWCMD,  HELP_CMD_CLOSEMEDIUM, handleCloseMedium,          0 },
    222222    { "storageattach",      USAGE_STORAGEATTACH,    VBMG_CMD_TODO, handleStorageAttach,        0 },
    223     { "storagectl",         USAGE_STORAGECONTROLLER,VBMG_CMD_TODO, handleStorageController,    0 },
     223    { "storagectl",         USAGE_S_NEWCMD,   HELP_CMD_STORAGECTL, handleStorageController,    0 },
    224224    { "showmediuminfo",     USAGE_SHOWMEDIUMINFO,   VBMG_CMD_TODO, handleShowMediumInfo,       0 },
    225225    { "showhdinfo",         USAGE_SHOWMEDIUMINFO,   VBMG_CMD_TODO, handleShowMediumInfo,       0 }, /* backward compatibility */
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h

    r94177 r94179  
    126126    USAGE_I_DUMPHDINFO,
    127127    USAGE_STORAGEATTACH,
    128     USAGE_STORAGECONTROLLER,
    129128#ifdef VBOX_WITH_GUEST_CONTROL
    130129    USAGE_GUESTCONTROL,
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r94177 r94179  
    625625                     "\n", SEP);
    626626
    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 
    642627    if (enmCommand == USAGE_BANDWIDTHCONTROL || enmCommand == USAGE_S_ALL)
    643628        RTStrmPrintf(pStrm,
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp

    r93115 r94179  
    990990
    991991    if (a->argc < 4)
    992         return errorSyntax(USAGE_STORAGECONTROLLER, Storage::tr("Too few parameters"));
     992        return errorSyntax(Storage::tr("Too few parameters"));
    993993
    994994    RTGetOptInit (&GetState, a->argc, a->argv, g_aStorageControllerOptions,
     
    10361036
    10371037            default:
    1038                 return errorGetOpt(USAGE_STORAGECONTROLLER, c, &ValueUnion);
     1038                return errorGetOpt(c, &ValueUnion);
    10391039        }
    10401040    }
     
    10561056        /* it's important to always close sessions */
    10571057        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"));
    10591059    }
    10601060
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