Changeset 94200 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 12, 2022 7:24:38 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r94199 r94200 198 198 { "clonevm", USAGE_S_NEWCMD, HELP_CMD_CLONEVM, handleCloneVM, 0 }, 199 199 { "movevm", USAGE_S_NEWCMD, HELP_CMD_MOVEVM, handleMoveVM, 0 }, 200 { "mediumproperty", USAGE_ MEDIUMPROPERTY, VBMG_CMD_TODO, handleMediumProperty, 0 },201 { "hdproperty", USAGE_ MEDIUMPROPERTY, VBMG_CMD_TODO, handleMediumProperty, 0 }, /* backward compatibility */200 { "mediumproperty", USAGE_S_NEWCMD,HELP_CMD_MEDIUMPROPERTY, handleMediumProperty, 0 }, 201 { "hdproperty", USAGE_S_NEWCMD,HELP_CMD_MEDIUMPROPERTY, handleMediumProperty, 0 }, /* backward compatibility */ 202 202 { "createmedium", USAGE_S_NEWCMD, HELP_CMD_CREATEMEDIUM, handleCreateMedium, 0 }, 203 203 { "createhd", USAGE_S_NEWCMD, HELP_CMD_CREATEMEDIUM, handleCreateMedium, 0 }, /* backward compatibility */ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r94199 r94200 132 132 USAGE_I_REPAIRHD, 133 133 USAGE_NATNETWORK, 134 USAGE_MEDIUMPROPERTY,135 134 USAGE_ENCRYPTMEDIUM, 136 135 USAGE_MEDIUMENCCHKPWD, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp
r94199 r94200 1897 1897 1898 1898 if (a->argc == 0) 1899 return errorSyntax( USAGE_MEDIUMPROPERTY,Disk::tr("Missing action"));1899 return errorSyntax(Disk::tr("Missing action")); 1900 1900 1901 1901 pszAction = a->argv[0]; … … 1903 1903 && RTStrICmp(pszAction, "get") 1904 1904 && RTStrICmp(pszAction, "delete")) 1905 return errorSyntax( USAGE_MEDIUMPROPERTY,Disk::tr("Invalid action given: %s"), pszAction);1905 return errorSyntax(Disk::tr("Invalid action given: %s"), pszAction); 1906 1906 1907 1907 if ( ( !RTStrICmp(pszAction, "set") … … 1909 1909 || ( RTStrICmp(pszAction, "set") 1910 1910 && a->argc != 3)) 1911 return errorSyntax( USAGE_MEDIUMPROPERTY,Disk::tr("Invalid number of arguments given for action: %s"), pszAction);1911 return errorSyntax(Disk::tr("Invalid number of arguments given for action: %s"), pszAction); 1912 1912 1913 1913 pszFilenameOrUuid = a->argv[1]; -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r94199 r94200 639 639 "\n", SEP); 640 640 641 if (enmCommand == USAGE_MEDIUMPROPERTY || enmCommand == USAGE_S_ALL)642 RTStrmPrintf(pStrm,643 "%s mediumproperty %s [disk|dvd|floppy] set <uuid|filename>\n"644 " <property> <value>\n"645 "\n"646 " [disk|dvd|floppy] get <uuid|filename>\n"647 " <property>\n"648 "\n"649 " [disk|dvd|floppy] delete <uuid|filename>\n"650 " <property>\n"651 "\n", SEP);652 653 641 if (enmCommand == USAGE_ENCRYPTMEDIUM || enmCommand == USAGE_S_ALL) 654 642 RTStrmPrintf(pStrm,
Note:
See TracChangeset
for help on using the changeset viewer.