Changeset 13294 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Oct 15, 2008 4:21:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp
r11113 r13294 121 121 } 122 122 else if (4 == argc) 123 { 124 if (strcmp(argv[2], "-flags") != 0) 125 usageOK = false; 126 else 127 return errorSyntax(USAGE_GUESTPROPERTY, 128 "You may not specify flags without a value"); 129 } 123 usageOK = false; 130 124 else if (5 == argc) 131 125 { … … 166 160 else if (NULL == pszFlags) 167 161 CHECK_ERROR(machine, SetGuestPropertyValue(Bstr(pszName), Bstr(pszValue))); 168 else if (NULL == pszValue)169 CHECK_ERROR(machine, SetGuestProperty(Bstr(pszName), NULL, Bstr(pszFlags)));170 162 else 171 163 CHECK_ERROR(machine, SetGuestProperty(Bstr(pszName), Bstr(pszValue), Bstr(pszFlags)));
Note:
See TracChangeset
for help on using the changeset viewer.