Add missed method from Parameter
@@ -941,6 +941,14 @@ static Parameter seq(@NonNull final Iterable<Parameter> parameters) {
*/
Text getUsage(CommandCause cause);
+ /**
+ * If set, this parameter will repeat until the argument string has
+ * been parsed.
+ *
+ * @return if true, consumes all arguments
+ */
+ boolean willConsumeAllRemaining();
+
/**
* Builds a {@link Parameter} from constituent components.
*/
@@ -1079,7 +1087,8 @@ static Parameter seq(@NonNull final Iterable<Parameter> parameters) {
* </ul>
*
* <p>Unless marked as optional, this element must be able to consume
- * at least one argument.</p>
+ * at least one argument. This will automatically mark the element
+ * as {@link #terminal() terminal}.</p>
*
* @return This builder, for chaining
*/
