Changeset 68213 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Jul 31, 2017 9:51:48 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r68194 r68213 1378 1378 ComPtr<IMachine> ptrMachine; 1379 1379 bool fDryRun = false; 1380 const char *pszSessionType = " headless";1380 const char *pszSessionType = "none"; 1381 1381 1382 1382 /* … … 1413 1413 // start vm related options: 1414 1414 { "--session-type", 'S', RTGETOPT_REQ_STRING }, 1415 /** @todo Add a --wait option too for waiting for the VM to shut down or 1416 * something like that...? */ 1415 1417 }; 1416 1418 … … 1692 1694 if ( fDryRun 1693 1695 || RTStrICmp(pszSessionType, "none") == 0) 1696 { 1697 if (!fDryRun) 1698 RTMsgInfo("VM '%ls' (%ls) is ready to be started (e.g. VBoxManage startvm).\n", bstrMachineName.raw(), bstrUuid.raw()); 1694 1699 hrc = S_OK; 1700 } 1695 1701 else 1696 1702 { … … 1711 1717 if (SUCCEEDED(hrc) && !ptrProgress.isNull()) 1712 1718 { 1713 RTMsgInfo("Waiting for VM \"%s\" to power on...\n", Utf8Str(bstrUuid).c_str());1719 RTMsgInfo("Waiting for VM '%ls' to power on...\n", bstrMachineName.raw()); 1714 1720 CHECK_ERROR2(hrc, ptrProgress, WaitForCompletion(-1)); 1715 1721 if (SUCCEEDED(hrc)) … … 1726 1732 { 1727 1733 if (SUCCEEDED(iRc)) 1728 RTMsgInfo("VM \"%s\" has been successfully started.\n", Utf8Str(bstrUuid).c_str());1734 RTMsgInfo("VM '%ls' (%ls) has been successfully started.\n", bstrMachineName.raw(), bstrUuid.raw()); 1729 1735 else 1730 1736 {
Note:
See TracChangeset
for help on using the changeset viewer.