Changeset 68187 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Jul 31, 2017 8:55:16 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 117280
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r68153 r68187 1387 1387 { "--iso", 'i', RTGETOPT_REQ_STRING }, 1388 1388 { "--user", 'u', RTGETOPT_REQ_STRING }, 1389 { "--password", 'p', RTGETOPT_REQ_STRING }, /** @todo password file ++ */ 1389 { "--password", 'p', RTGETOPT_REQ_STRING }, 1390 { "--password-file", 'X', RTGETOPT_REQ_STRING }, 1390 1391 { "--full-user-name", 'U', RTGETOPT_REQ_STRING }, 1391 1392 { "--key", 'k', RTGETOPT_REQ_STRING }, … … 1446 1447 break; 1447 1448 1449 case 'X': // --password-file 1450 { 1451 Utf8Str strPassword; 1452 RTEXITCODE rcExit = readPasswordFile(ValueUnion.psz, &strPassword); 1453 if (rcExit != RTEXITCODE_SUCCESS) 1454 return rcExit; 1455 CHECK_ERROR2_RET(hrc, ptrUnattended, COMSETTER(Password)(Bstr(strPassword).raw()), RTEXITCODE_FAILURE); 1456 break; 1457 } 1458 1448 1459 case 'U': // --full-user-name 1449 1460 CHECK_ERROR2_RET(hrc, ptrUnattended, COMSETTER(FullUserName)(Bstr(ValueUnion.psz).raw()), RTEXITCODE_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.