diff --git a/llvm/docs/CommandLine.html b/llvm/docs/CommandLine.html index 8c59b2b3716d..3533f14f4889 100644 --- a/llvm/docs/CommandLine.html +++ b/llvm/docs/CommandLine.html @@ -870,13 +870,14 @@ name).

There are several limitations to when cl::ConsumeAfter options can be specified. For example, only one cl::ConsumeAfter can be specified per program, there must be at least one positional -argument specified, and the cl::ConsumeAfter option should be a specified, there must not be any cl::list +positional arguments, and the cl::ConsumeAfter option should be a cl::list option.

-
+
Internal vs External Storage
@@ -1283,10 +1284,19 @@ options are equivalent when cl::CommaSeparated is specified: makes sense to be used in a case where the option is allowed to accept one or more values (i.e. it is a cl::list option). +
  • The +cl::PositionalEatsArgs modifier (which only applies to +positional arguments, and only makes sense for lists) indicates that positional +argument should consume any strings after it (including strings that start with +a "-") up until another recognized positional argument. For example, if you +have two "eating" positional arguments "pos1" and "pos2" the +string "-pos1 -foo -bar baz -pos2 -bork" would cause the "-foo -bar +-baz" strings to be applied to the "-pos1" option and the +"-bork" string to be applied to the "-pos2" option.
  • + -

    So far, the only miscellaneous option modifier is the -cl::CommaSeparated modifier.

    +

    So far, these are the only two miscellaneous option modifiers.