@@ -107,10 +107,16 @@ * The argument for the last parsed option, or `nil` if the last parsed option * takes no argument. */ @property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *argument; +/*! + * The arguments following the last option. + */ +@property (readonly, nonatomic) + OFArray OF_GENERIC(OFString *) *remainingArguments; + /*! * @brief Creates a new OFOptionsParser which accepts the specified options. * * @param options An array of @ref of_options_parser_option_t specifying all * accepted options, terminated with an option whose short @@ -152,15 +158,8 @@ * optional pointers specified and don't do any parsing yourself. * * @return The next option */ - (of_unichar_t)nextOption; - -/*! - * @brief Returns the arguments following the last option. - * - * @return The arguments following the last option - */ -- (OFArray OF_GENERIC(OFString *) *)remainingArguments; @end OF_ASSUME_NONNULL_END