VirtualBox

Ignore:
Timestamp:
Mar 11, 2022 2:24:52 PM (3 years ago)
Author:
vboxsync
Message:

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

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

Legend:

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

    r94171 r94172  
    217217    { "unattended",         USAGE_S_NEWCMD,   HELP_CMD_UNATTENDED, handleUnattended,           0 },
    218218    { "discardstate",       USAGE_S_NEWCMD, HELP_CMD_DISCARDSTATE, handleDiscardState,         0 },
    219     { "adoptstate",         USAGE_ADOPTSTATE,       VBMG_CMD_TODO, handleAdoptState,           0 },
     219    { "adoptstate",         USAGE_S_NEWCMD,   HELP_CMD_ADOPTSTATE, handleAdoptState,           0 },
    220220    { "snapshot",           USAGE_S_NEWCMD,     HELP_CMD_SNAPSHOT, handleSnapshot,             0 },
    221221    { "closemedium",        USAGE_CLOSEMEDIUM,      VBMG_CMD_TODO, handleCloseMedium,          0 },
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h

    r94171 r94172  
    115115    USAGE_I_LISTPARTITIONS,
    116116    USAGE_I_CREATERAWVMDK,
    117     USAGE_ADOPTSTATE,
    118117    USAGE_I_MODINSTALL,
    119118    USAGE_I_MODUNINSTALL,
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r94171 r94172  
    591591
    592592#define SEP pcszSep1, pcszSep2
    593 
    594     if (enmCommand == USAGE_ADOPTSTATE || enmCommand == USAGE_S_ALL)
    595         RTStrmPrintf(pStrm,
    596                            "%s adoptstate %s      <uuid|vmname> <state_file>\n"
    597                      "\n", SEP);
    598593
    599594    if (enmCommand == USAGE_CLOSEMEDIUM || enmCommand == USAGE_S_ALL)
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r94171 r94172  
    789789
    790790    if (a->argc != 2)
    791         return errorSyntax(USAGE_ADOPTSTATE, Misc::tr("Incorrect number of parameters"));
     791        return errorSyntax(Misc::tr("Incorrect number of parameters"));
    792792
    793793    ComPtr<IMachine> machine;
Note: See TracChangeset for help on using the changeset viewer.

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