Changeset 67896 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Jul 11, 2017 7:57:11 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r67879 r67896 1275 1275 const char *pszUser = NULL; 1276 1276 const char *pszPassword = NULL; 1277 const char *psz Group= NULL;1277 const char *pszFullUserName = NULL; 1278 1278 const char *pszProductKey = NULL; 1279 1279 const char *pszAdditionsIsoPath = NULL; … … 1297 1297 { "--user", 'u', RTGETOPT_REQ_STRING }, 1298 1298 { "--password", 'p', RTGETOPT_REQ_STRING }, 1299 { "-- group", 'g', RTGETOPT_REQ_STRING },1299 { "--full-user-name", 'U', RTGETOPT_REQ_STRING }, 1300 1300 { "--key", 'k', RTGETOPT_REQ_STRING }, 1301 1301 { "--install-additions", 'A', RTGETOPT_REQ_NOTHING }, … … 1338 1338 break; 1339 1339 1340 case ' g': // --group1341 psz Group= ValueUnion.psz;1340 case 'U': // --full-user-name 1341 pszFullUserName = ValueUnion.psz; 1342 1342 break; 1343 1343 … … 1450 1450 if (pszPassword) 1451 1451 CHECK_ERROR_BREAK(unAttended, COMSETTER(Password)(Bstr(pszPassword).raw())); 1452 if (psz Group)1453 CHECK_ERROR_BREAK(unAttended, COMSETTER( Group)(Bstr(pszGroup).raw()));1452 if (pszFullUserName) 1453 CHECK_ERROR_BREAK(unAttended, COMSETTER(FullUserName)(Bstr(pszFullUserName).raw())); 1454 1454 if (pszProductKey) 1455 1455 CHECK_ERROR_BREAK(unAttended, COMSETTER(ProductKey)(Bstr(pszProductKey).raw())); … … 1523 1523 * Retrieve and display the parameters actually used. 1524 1524 */ 1525 Bstr bstrGroup;1526 CHECK_ERROR_BREAK(unAttended, COMGETTER(Group)(bstrGroup.asOutParam()));1527 1525 Bstr bstrAdditionsIsoPath; 1528 1526 CHECK_ERROR_BREAK(unAttended, COMGETTER(AdditionsIsoPath)(bstrAdditionsIsoPath.asOutParam())); … … 1544 1542 " user: %ls\n" 1545 1543 " password: %ls\n" 1546 " group: %ls\n"1547 1544 " productKey: %ls\n" 1548 1545 " image index: %u\n" … … 1553 1550 bstrUser.raw(), 1554 1551 bstrPassword.raw(), 1555 bstrGroup.raw(),1556 1552 bstrProductKey.raw(), 1557 1553 idxImageActual,
Note:
See TracChangeset
for help on using the changeset viewer.