Expand the --args section
authorChris Lattner <sabre@nondot.org>
Sat, 18 Oct 2003 20:57:23 +0000 (20:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 18 Oct 2003 20:57:23 +0000 (20:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9241 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CommandGuide/bugpoint.html

index 78e3ebdbd9745ad484f0800caec0ed8973fde24e..8d83863d9dbe477e486e2b01792ab2aff3067d5b 100644 (file)
@@ -116,8 +116,17 @@ working properly.<p>
         run.<p>
 
        <li><tt>-args &lt;arguments&gt;</tt><br>
+
        All arguments specified after <tt>-args</tt> are passed into the
-       executed program when the program must be executed.<p>
+       executed program when the program must be executed.  Note that if the
+       program takes an argument which starts with a '-', you should use:
+        <p>
+        <tt>bugpoint .... -args -- (the arguments here)</tt>
+        <p>
+        The "<tt>--</tt>" right after the <tt>-args</tt> option tells
+        <tt>bugpoint</tt> to consider any options starting with <tt>-</tt> to be
+        part of the <tt>-args</tt> option, not as options to <tt>bugpoint</tt>
+        itself.<p>
 
        <li><tt>-disable-(adce,dce,final-cleanup,simplifycfg)</tt><br>
        <tt>bugpoint</tt> uses several passes internally for cleanup routines to