Changeset 27668 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Mar 24, 2010 2:45:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r26517 r27668 238 238 return errorSyntax(USAGE_CREATEVM, "Parameter --name is required"); 239 239 240 if (! !baseFolder && !!settingsFile)241 return errorSyntax(USAGE_CREATEVM, " Either --basefolder or --settingsfile must be specified");240 if (!baseFolder.isEmpty() && !settingsFile.isEmpty()) 241 return errorSyntax(USAGE_CREATEVM, "Cannot specify both --basefolder and --settingsfile together"); 242 242 243 243 do … … 245 245 ComPtr<IMachine> machine; 246 246 247 if ( !settingsFile)247 if (settingsFile.isEmpty()) 248 248 CHECK_ERROR_BREAK(a->virtualBox, 249 249 CreateMachine(name, osTypeId, baseFolder, Guid(id).toUtf16(), machine.asOutParam()));
Note:
See TracChangeset
for help on using the changeset viewer.