- Timestamp:
- Mar 11, 2022 2:15:12 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
doc/manual/Config.kmk (modified) (1 diff)
-
doc/manual/en_US/man_VBoxManage-discardstate.xml (modified) (2 diffs)
-
doc/manual/en_US/user_VBoxManage.xml (modified) (1 diff)
-
src/VBox/Frontends/VBoxManage/VBoxManage.cpp (modified) (1 diff)
-
src/VBox/Frontends/VBoxManage/VBoxManage.h (modified) (1 diff)
-
src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp (modified) (1 diff)
-
src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/Config.kmk
r93813 r94171 61 61 man_VBoxManage-modifynvram.xml \ 62 62 man_VBoxManage-hostonlynet.xml \ 63 man_VBoxManage-updatecheck.xml 63 man_VBoxManage-updatecheck.xml \ 64 man_VBoxManage-discardstate.xml 64 65 65 66 ## List of user manual XML files. -
trunk/doc/manual/en_US/man_VBoxManage-discardstate.xml
r82969 r94171 20 20 <refentry id="vboxmanage-discardstate" lang="en"> 21 21 <refentryinfo> 22 <pubdate> August 2019</pubdate>22 <pubdate>$Date$</pubdate> 23 23 <title>VBoxManage discardstate</title> 24 24 </refentryinfo> … … 32 32 <refname>VBoxManage-discardstate</refname> 33 33 <refpurpose>discard the saved state of a virtual machine</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
r93804 r94171 337 337 <xi:include href="user_man_VBoxManage-unattended.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> 338 338 339 <sect1 id="vboxmanage-discardstate"> 340 341 <title>VBoxManage discardstate</title> 342 343 <para> 344 This command discards the saved state of a virtual machine which 345 is not currently running. This will cause the VM's operating 346 system to restart next time you start it. This is the equivalent 347 of pulling out the power cable on a physical machine, and should 348 be avoided if possible. 349 </para> 350 351 </sect1> 339 <xi:include href="user_man_VBoxManage-discardstate.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> 352 340 353 341 <sect1 id="vboxmanage-adoptstate"> -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r93708 r94171 216 216 { "controlvm", USAGE_S_NEWCMD, HELP_CMD_CONTROLVM, handleControlVM, 0 }, 217 217 { "unattended", USAGE_S_NEWCMD, HELP_CMD_UNATTENDED, handleUnattended, 0 }, 218 { "discardstate", USAGE_ DISCARDSTATE, VBMG_CMD_TODO, handleDiscardState, 0 },218 { "discardstate", USAGE_S_NEWCMD, HELP_CMD_DISCARDSTATE, handleDiscardState, 0 }, 219 219 { "adoptstate", USAGE_ADOPTSTATE, VBMG_CMD_TODO, handleAdoptState, 0 }, 220 220 { "snapshot", USAGE_S_NEWCMD, HELP_CMD_SNAPSHOT, handleSnapshot, 0 }, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r93708 r94171 98 98 { 99 99 USAGE_INVALID = 0, 100 USAGE_DISCARDSTATE,101 100 USAGE_CLOSEMEDIUM, 102 101 USAGE_SHOWMEDIUMINFO, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r93708 r94171 591 591 592 592 #define SEP pcszSep1, pcszSep2 593 594 if (enmCommand == USAGE_DISCARDSTATE || enmCommand == USAGE_S_ALL)595 RTStrmPrintf(pStrm,596 "%s discardstate %s <uuid|vmname>\n"597 "\n", SEP);598 593 599 594 if (enmCommand == USAGE_ADOPTSTATE || enmCommand == USAGE_S_ALL) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r93708 r94171 760 760 761 761 if (a->argc != 1) 762 return errorSyntax( USAGE_DISCARDSTATE,Misc::tr("Incorrect number of parameters"));762 return errorSyntax(Misc::tr("Incorrect number of parameters")); 763 763 764 764 ComPtr<IMachine> machine;
Note:
See TracChangeset
for help on using the changeset viewer.

