From 5f8448f79c2876466d586f2e1caec89e6f070623 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 24 Nov 2004 06:13:42 +0000 Subject: Implement and document prefix options with arbitrary values including an = sign. This needed to support -DNAME=value options as pass-through in llvmc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18203 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CommandLine.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'docs/CommandLine.html') diff --git a/docs/CommandLine.html b/docs/CommandLine.html index 55f5484..4f749b7 100644 --- a/docs/CommandLine.html +++ b/docs/CommandLine.html @@ -1276,13 +1276,15 @@ Arguments section for more information. specifies that this option is used to capture "interpreter style" arguments. See this section for more information.
  • The cl::Prefix modifier specifies -that this option prefixes its value. With 'Prefix' options, there is no equal -sign that separates the value from the option name specified. This is useful -for processing odd arguments like '-lmalloc -L/usr/lib' in a linker -tool. Here, the 'l' and 'L' options are normal string (list) -options, that have the cl::Prefix modifier added to -allow the CommandLine library to recognize them. Note that cl::Prefix options must not have the -lmalloc and -L/usr/lib in a +linker tool or -DNAME=value in a compiler tool. Here, the +'l', 'D' and 'L' options are normal string (or list) +options, that have the cl::Prefix modifier added to +allow the CommandLine library to recognize them. Note that +cl::Prefix options must not have the cl::ValueDisallowed modifier specified.
  • The cl::Grouping modifier is used -- cgit v1.1