@@ -24,34 +24,34 @@ #import "OFInvalidArgumentException.h" static uint32_t stringHash(void *object) { - return [(OFString*)object hash]; + return [(OFString *)object hash]; } static bool stringEqual(void *object1, void *object2) { - return [(OFString*)object1 isEqual: (OFString*)object2]; + return [(OFString *)object1 isEqual: (OFString *)object2]; } @implementation OFOptionsParser @synthesize lastOption = _lastOption, lastLongOption = _lastLongOption; @synthesize argument = _argument; -+ (instancetype)parserWithOptions: (const of_options_parser_option_t*)options ++ (instancetype)parserWithOptions: (const of_options_parser_option_t *)options { return [[[self alloc] initWithOptions: options] autorelease]; } - init { OF_INVALID_INIT_METHOD } -- initWithOptions: (const of_options_parser_option_t*)options +- initWithOptions: (const of_options_parser_option_t *)options { self = [super init]; @try { size_t count = 0; @@ -273,11 +273,11 @@ } return '?'; } -- (OFArray*)remainingArguments +- (OFArray *)remainingArguments { return [_arguments objectsInRange: of_range(_index, [_arguments count] - _index)]; } @end