Changeset 68127 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Jul 26, 2017 3:52:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r68095 r68127 1292 1292 const char *pszTimeZone = NULL; 1293 1293 const char *pszProxy = NULL; 1294 const char *pszHostname = NULL; 1294 1295 Utf8Str strAbsAuxiliaryBasePath; 1295 1296 const char *pszAuxiliaryBasePath = NULL; … … 1312 1313 { "--iso", 'i', RTGETOPT_REQ_STRING }, 1313 1314 { "--user", 'u', RTGETOPT_REQ_STRING }, 1314 { "--password", 'p', RTGETOPT_REQ_STRING }, 1315 { "--password", 'p', RTGETOPT_REQ_STRING }, /** @todo password file ++ */ 1315 1316 { "--full-user-name", 'U', RTGETOPT_REQ_STRING }, 1316 1317 { "--key", 'k', RTGETOPT_REQ_STRING }, … … 1325 1326 { "--time-zone", 'z', RTGETOPT_REQ_STRING }, 1326 1327 { "--proxy", 'y', RTGETOPT_REQ_STRING }, 1328 { "--hostname", 'H', RTGETOPT_REQ_STRING }, 1327 1329 { "--auxiliary-base-path", 'x', RTGETOPT_REQ_STRING }, 1328 1330 { "--image-index", 'm', RTGETOPT_REQ_UINT32 }, … … 1415 1417 case 'y': // --proxy 1416 1418 pszProxy = ValueUnion.psz; 1419 break; 1420 1421 case 'H': // --hostname 1422 pszHostname = ValueUnion.psz; 1417 1423 break; 1418 1424 … … 1543 1549 if (pszProxy) 1544 1550 CHECK_ERROR_BREAK(ptrUnattended, COMSETTER(Proxy)(Bstr(pszProxy).raw())); 1551 if (pszHostname) 1552 CHECK_ERROR_BREAK(ptrUnattended, COMSETTER(Hostname)(Bstr(pszHostname).raw())); 1545 1553 if (fSetImageIdx) 1546 1554 CHECK_ERROR_BREAK(ptrUnattended, COMSETTER(ImageIndex)(idxImage)); … … 1594 1602 SHOW_STR_ATTR(TimeZone, "timeZone"); 1595 1603 SHOW_STR_ATTR(Proxy, "proxy"); 1604 SHOW_STR_ATTR(Hostname, "hostname"); 1596 1605 SHOW_STR_ATTR(AuxiliaryBasePath, "auxiliaryBasePath"); 1597 1606 SHOW_ATTR( ImageIndex, "imageIndex", ULONG, "%u");
Note:
See TracChangeset
for help on using the changeset viewer.