I can even mess up command line parsing :)

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10376 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-12-08 03:51:25 +00:00
parent 19ab5531d8
commit 1bcd71834b

View File

@ -121,14 +121,14 @@ main(int argc, char *argv[])
type_code attrType = B_STRING_TYPE;
int32 i = 2;
int32 i = 1;
if (!strcmp(argv[1], "-t")) {
// Get the attribute type
if (typeForString(argv[2], &attrType) != B_OK)
invalidAttrType(argv[2]);
i++;
i += 2;
}
const char *attrName = argv[i++];