VirtualBox

Changeset 94204 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 12, 2022 7:57:40 PM (3 years ago)
Author:
vboxsync
Message:

doc/manual,FE/VBoxManage: Convert setextradata/getextradata commands 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

    r94203 r94204  
    226226    { "showvdiinfo",        USAGE_S_NEWCMD,HELP_CMD_SHOWMEDIUMINFO, handleShowMediumInfo,       0 }, /* backward compatibility */
    227227    { "mediumio",           USAGE_S_NEWCMD,     HELP_CMD_MEDIUMIO, handleMediumIO,             0 },
    228     { "getextradata",       USAGE_GETEXTRADATA,     VBMG_CMD_TODO, handleGetExtraData,         0 },
    229     { "setextradata",       USAGE_SETEXTRADATA,     VBMG_CMD_TODO, handleSetExtraData,         0 },
     228    { "getextradata",       USAGE_S_NEWCMD, HELP_CMD_GETEXTRADATA, handleGetExtraData,         0 },
     229    { "setextradata",       USAGE_S_NEWCMD, HELP_CMD_SETEXTRADATA, handleSetExtraData,         0 },
    230230    { "setproperty",        USAGE_SETPROPERTY,      VBMG_CMD_TODO, handleSetProperty,          0 },
    231231    { "usbfilter",          USAGE_USBFILTER,        VBMG_CMD_TODO, handleUSBFilter,            0 },
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h

    r94203 r94204  
    101101    USAGE_CREATEHOSTIF,
    102102    USAGE_REMOVEHOSTIF,
    103     USAGE_GETEXTRADATA,
    104     USAGE_SETEXTRADATA,
    105103    USAGE_SETPROPERTY,
    106104    USAGE_USBFILTER,
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r94203 r94204  
    639639                     "\n", SEP);
    640640
    641     if (enmCommand == USAGE_GETEXTRADATA || enmCommand == USAGE_S_ALL)
    642         RTStrmPrintf(pStrm,
    643                            "%s getextradata %s    global|<uuid|vmname>\n"
    644                      "                            <key>|[enumerate]\n"
    645                      "\n", SEP);
    646 
    647     if (enmCommand == USAGE_SETEXTRADATA || enmCommand == USAGE_S_ALL)
    648         RTStrmPrintf(pStrm,
    649                            "%s setextradata %s    global|<uuid|vmname>\n"
    650                      "                            <key>\n"
    651                      "                            [<value>] (no value deletes key)\n"
    652                      "\n", SEP);
    653 
    654641    if (enmCommand == USAGE_SETPROPERTY || enmCommand == USAGE_S_ALL)
    655642    {
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r94172 r94204  
    824824
    825825    if (a->argc > 2 || a->argc < 1)
    826         return errorSyntax(USAGE_GETEXTRADATA, Misc::tr("Incorrect number of parameters"));
     826        return errorSyntax(Misc::tr("Incorrect number of parameters"));
    827827
    828828    /* global data? */
     
    903903
    904904    if (a->argc < 2)
    905         return errorSyntax(USAGE_SETEXTRADATA, Misc::tr("Not enough parameters"));
     905        return errorSyntax(Misc::tr("Not enough parameters"));
    906906
    907907    /* global data? */
     
    916916                                                    Bstr(a->argv[2]).raw()));
    917917        else
    918             return errorSyntax(USAGE_SETEXTRADATA, Misc::tr("Too many parameters"));
     918            return errorSyntax(Misc::tr("Too many parameters"));
    919919    }
    920920    else
     
    938938                                                         Bstr(a->argv[2]).raw()));
    939939            else
    940                 return errorSyntax(USAGE_SETEXTRADATA, Misc::tr("Too many parameters"));
     940                return errorSyntax(Misc::tr("Too many parameters"));
    941941        }
    942942    }
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