Changeset 94204 in vbox for trunk/src/VBox
- Timestamp:
- Mar 12, 2022 7:57:40 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r94203 r94204 226 226 { "showvdiinfo", USAGE_S_NEWCMD,HELP_CMD_SHOWMEDIUMINFO, handleShowMediumInfo, 0 }, /* backward compatibility */ 227 227 { "mediumio", USAGE_S_NEWCMD, HELP_CMD_MEDIUMIO, handleMediumIO, 0 }, 228 { "getextradata", USAGE_ GETEXTRADATA, VBMG_CMD_TODO, handleGetExtraData, 0 },229 { "setextradata", USAGE_S ETEXTRADATA, 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 }, 230 230 { "setproperty", USAGE_SETPROPERTY, VBMG_CMD_TODO, handleSetProperty, 0 }, 231 231 { "usbfilter", USAGE_USBFILTER, VBMG_CMD_TODO, handleUSBFilter, 0 }, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r94203 r94204 101 101 USAGE_CREATEHOSTIF, 102 102 USAGE_REMOVEHOSTIF, 103 USAGE_GETEXTRADATA,104 USAGE_SETEXTRADATA,105 103 USAGE_SETPROPERTY, 106 104 USAGE_USBFILTER, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r94203 r94204 639 639 "\n", SEP); 640 640 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 654 641 if (enmCommand == USAGE_SETPROPERTY || enmCommand == USAGE_S_ALL) 655 642 { -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r94172 r94204 824 824 825 825 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")); 827 827 828 828 /* global data? */ … … 903 903 904 904 if (a->argc < 2) 905 return errorSyntax( USAGE_SETEXTRADATA,Misc::tr("Not enough parameters"));905 return errorSyntax(Misc::tr("Not enough parameters")); 906 906 907 907 /* global data? */ … … 916 916 Bstr(a->argv[2]).raw())); 917 917 else 918 return errorSyntax( USAGE_SETEXTRADATA,Misc::tr("Too many parameters"));918 return errorSyntax(Misc::tr("Too many parameters")); 919 919 } 920 920 else … … 938 938 Bstr(a->argv[2]).raw())); 939 939 else 940 return errorSyntax( USAGE_SETEXTRADATA,Misc::tr("Too many parameters"));940 return errorSyntax(Misc::tr("Too many parameters")); 941 941 } 942 942 }
Note:
See TracChangeset
for help on using the changeset viewer.