Create.Usage.3=Create a VM by using a platform
Create.Usage.4=create -n my_vm -p mobile-2.4
Create.Usage.5=Create a VM by using a platform and a device template
-Create.Usage.6=create -n my_vm -p mobile-2.4 -d HD-Mobile
+Create.Usage.6=create -n my_vm -p mobile-2.4 -t HD-Mobile
Create.Usage.7=Create a VM by using a custom image
Create.Usage.8=create -n my_vm -c path
Create.Usage.9=Create a VM by using a custom image
Create.Usage.10=create -n my_vm -c path -p mobile-2.4
Create.Usage.11=Create a VM by using a custom image
-Create.Usage.12=create -n my_vm -c path -p mobile-2.4 -d HD-Mobile
+Create.Usage.12=create -n my_vm -c path -p mobile-2.4 -t HD-Mobile
Create.Desc.Name=Specify the VM's name
Create.Desc.Platform=Specify a %s for base disk image. You can find available platforms by using 'list-platform' command.
Modify.ShortDescription=Modify configurations of a virtual machine
Modify.Description=Modify configurations of a VM(Virtual Machine)
Modify.Usage.1=Modify a device template of a VM
-Modify.Usage.2=modify -n my_vm -d WVGA-Mobile
+Modify.Usage.2=modify -n my_vm -t WVGA-Mobile
Modify.Usage.3=Modify shared directory of a VM
Modify.Usage.4=modify -n my_vm -f /home/user/test
Modify.Desc.Name=Specify the VM's name
case 'n' :
name = c.getCurrentValue();
break;
- case 'p' :
+ case 'd' :
path = c.getCurrentValue();
break;
case 'c' :
useCompress = true;
}
} else {
- if (c.getShortName().equals("p")) { //$NON-NLS-1$
+ if (c.getShortName().equals("d")) { //$NON-NLS-1$
path = c.getDefaultValue();
}
}
Queue<VMProperty> properties = getProperties();
for (VMProperty prop : properties) {
- if (platform != null) {
+ if (platform != null
+ && prop.getPropertyValue().getPlatform() != null) {
if (!prop.getPropertyValue().getPlatform().equals(platform)) {
continue;
}
// Check path
File f = new File(path);
if (!f.exists()) {
- OutputUtil.printError(Messages.getString("Export.Error.NotExistPath.1")
+ OutputUtil.printError(Messages.getString("Export.Error.NotExistPath")
, "Path: " + path); //$NON-NLS-1$
return false;
}