Changeset 947 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Feb 16, 2007 9:09:10 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18690
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r775 r947 4941 4941 if (argc < 3) 4942 4942 CHECK_ERROR(virtualBox, SetExtraData(Bstr(argv[1]), NULL)); 4943 else if (argc == 3) 4944 CHECK_ERROR(virtualBox, SetExtraData(Bstr(argv[1]), Bstr(argv[2]))); 4943 4945 else 4944 CHECK_ERROR(virtualBox, SetExtraData(Bstr(argv[1]), Bstr(argv[2])));4946 return errorSyntax(USAGE_SETEXTRADATA, "Too many parameters"); 4945 4947 } 4946 4948 else … … 4958 4960 if (argc < 3) 4959 4961 CHECK_ERROR(machine, SetExtraData(Bstr(argv[1]), NULL)); 4962 else if (argc == 3) 4963 CHECK_ERROR(machine, SetExtraData(Bstr(argv[1]), Bstr(argv[2]))); 4960 4964 else 4961 CHECK_ERROR(machine, SetExtraData(Bstr(argv[1]), Bstr(argv[2])));4965 return errorSyntax(USAGE_SETEXTRADATA, "Too many parameters"); 4962 4966 } 4963 4967 }
Note:
See TracChangeset
for help on using the changeset viewer.