Changeset 32448 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Sep 13, 2010 2:24:06 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 65819
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r31976 r32448 342 342 RTPrintf("VBoxManage export <machines> --output|-o <ovf>\n" 343 343 " [--legacy09]\n" 344 " [--manifest]\n" 344 345 " [--vsys <number of virtual system>]\n" 345 346 " [--product <product name>]\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageImport.cpp
r30681 r32448 726 726 { "--output", 'o', RTGETOPT_REQ_STRING }, 727 727 { "--legacy09", 'l', RTGETOPT_REQ_NOTHING }, 728 { "--manifest", 'm', RTGETOPT_REQ_NOTHING }, 728 729 { "--vsys", 's', RTGETOPT_REQ_UINT32 }, 729 730 { "--product", 'p', RTGETOPT_REQ_STRING }, … … 742 743 Utf8Str strOutputFile; 743 744 Utf8Str strOvfFormat("ovf-1.0"); // the default export version 745 bool fManifest = false; // the default 744 746 std::list< ComPtr<IMachine> > llMachines; 745 747 … … 771 773 case 'l': // --legacy09 772 774 strOvfFormat = "ovf-0.9"; 775 break; 776 777 case 'm': // --manifest 778 fManifest = true; 773 779 break; 774 780 … … 950 956 else 951 957 pszAbsFilePath = RTPathAbsDup(strOutputFile.c_str()); 952 CHECK_ERROR_BREAK(pAppliance, Write(Bstr(strOvfFormat), Bstr(pszAbsFilePath), progress.asOutParam()));958 CHECK_ERROR_BREAK(pAppliance, Write(Bstr(strOvfFormat), fManifest, Bstr(pszAbsFilePath), progress.asOutParam())); 953 959 RTStrFree(pszAbsFilePath); 954 960
Note:
See TracChangeset
for help on using the changeset viewer.