- Timestamp:
- Mar 12, 2022 7:24:38 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/Config.kmk
r94199 r94200 69 69 man_VBoxManage-showmediuminfo.xml \ 70 70 man_VBoxManage-createmedium.xml \ 71 man_VBoxManage-clonemedium.xml 71 man_VBoxManage-clonemedium.xml \ 72 man_VBoxManage-mediumproperty.xml 72 73 73 74 ## List of user manual XML files. -
trunk/doc/manual/en_US/man_VBoxManage-mediumproperty.xml
r87075 r94200 20 20 <refentry id="vboxmanage-mediumproperty" lang="en"> 21 21 <refentryinfo> 22 <pubdate> September 2019</pubdate>22 <pubdate>$Date$</pubdate> 23 23 <title>VBoxManage mediumproperty</title> 24 24 </refentryinfo> … … 32 32 <refname>VBoxManage-mediumproperty</refname> 33 33 <refpurpose>manage medium properties</refpurpose> 34 <refclass> Oracle VM VirtualBox</refclass>34 <refclass>&product-name;</refclass> 35 35 </refnamediv> 36 36 -
trunk/doc/manual/en_US/user_VBoxManage.xml
r94199 r94200 1091 1091 <xi:include href="user_man_VBoxManage-clonemedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> 1092 1092 1093 <sect1 id="vboxmanage-mediumproperty"> 1094 1095 <title>VBoxManage mediumproperty</title> 1096 1097 <para> 1098 This command sets, gets, or deletes a medium property. The syntax 1099 is as follows: 1100 </para> 1101 1102 <screen>VBoxManage mediumproperty [disk|dvd|floppy] set <uuid|filename> 1103 <property> <value></screen> 1104 1105 <itemizedlist> 1106 1107 <listitem> 1108 <para> 1109 Use <computeroutput><disk|dvd|floppy></computeroutput> 1110 to optionally specify the type of medium: disk (hard drive), 1111 dvd, or floppy. 1112 </para> 1113 </listitem> 1114 1115 <listitem> 1116 <para> 1117 Use <computeroutput><uuid|filename></computeroutput> to 1118 supply either the UUID or absolute path of the medium or 1119 image. 1120 </para> 1121 </listitem> 1122 1123 <listitem> 1124 <para> 1125 Use <computeroutput><property></computeroutput> to 1126 supply the name of the property. 1127 </para> 1128 </listitem> 1129 1130 <listitem> 1131 <para> 1132 Use <computeroutput><value></computeroutput> to supply 1133 the property value. 1134 </para> 1135 </listitem> 1136 1137 </itemizedlist> 1138 1139 <screen>VBoxManage mediumproperty [disk|dvd|floppy] get <uuid|filename> 1140 <property></screen> 1141 1142 <itemizedlist> 1143 1144 <listitem> 1145 <para> 1146 Use <computeroutput><disk|dvd|floppy></computeroutput> 1147 to optionally specify the type of medium: disk (hard drive), 1148 dvd, or floppy. 1149 </para> 1150 </listitem> 1151 1152 <listitem> 1153 <para> 1154 Use <computeroutput><uuid|filename></computeroutput> to 1155 supply either the UUID or absolute path of the medium or 1156 image. 1157 </para> 1158 </listitem> 1159 1160 <listitem> 1161 <para> 1162 Use <computeroutput><property></computeroutput> to 1163 supply the name of the property. 1164 </para> 1165 </listitem> 1166 1167 </itemizedlist> 1168 1169 <screen>VBoxManage mediumproperty [disk|dvd|floppy] delete <uuid|filename> 1170 <property></screen> 1171 1172 <itemizedlist> 1173 1174 <listitem> 1175 <para> 1176 Use <computeroutput><disk|dvd|floppy></computeroutput> 1177 to optionally specify the type of medium: disk (hard drive), 1178 dvd, or floppy. 1179 </para> 1180 </listitem> 1181 1182 <listitem> 1183 <para> 1184 Use <computeroutput><uuid|filename></computeroutput> to 1185 supply either the UUID or absolute path of the medium or 1186 image. 1187 </para> 1188 </listitem> 1189 1190 <listitem> 1191 <para> 1192 Use <computeroutput><property></computeroutput> to 1193 supply the name of the property. 1194 </para> 1195 </listitem> 1196 1197 </itemizedlist> 1198 1199 </sect1> 1093 <xi:include href="user_man_VBoxManage-mediumproperty.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> 1200 1094 1201 1095 <sect1 id="vboxmanage-encryptmedium"> -
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.