[Lldb-commits] [lldb] r185028 - Update the platform options help strings.

Greg Clayton gclayton at apple.com
Wed Jun 26 15:24:05 PDT 2013


Author: gclayton
Date: Wed Jun 26 17:24:05 2013
New Revision: 185028

URL: http://llvm.org/viewvc/llvm-project?rev=185028&view=rev
Log:
Update the platform options help strings.


Modified:
    lldb/trunk/examples/python/globals.py
    lldb/trunk/examples/python/symbolication.py
    lldb/trunk/examples/python/types.py

Modified: lldb/trunk/examples/python/globals.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/globals.py?rev=185028&r1=185027&r2=185028&view=diff
==============================================================================
--- lldb/trunk/examples/python/globals.py (original)
+++ lldb/trunk/examples/python/globals.py Wed Jun 26 17:24:05 2013
@@ -57,7 +57,7 @@ def globals(command_args):
     parser = optparse.OptionParser(description=description, prog='globals',usage=usage)
     parser.add_option('-v', '--verbose', action='store_true', dest='verbose', help='display verbose debug info', default=False)
     parser.add_option('-a', '--arch', type='string', metavar='arch', dest='arch', help='Specify an architecture (or triple) to use when extracting from a file.')
-    parser.add_option('-p', '--platform', type='string', metavar='platform', dest='platform', help='specify one platform by name')
+    parser.add_option('-p', '--platform', type='string', metavar='platform', dest='platform', help='Specify the platform to use when creating the debug target. Valid values include "localhost", "darwin-kernel", "ios-simulator", "remote-freebsd", "remote-macosx", "remote-ios", "remote-linux".')
     try:
         (options, args) = parser.parse_args(command_args)
     except:

Modified: lldb/trunk/examples/python/symbolication.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/symbolication.py?rev=185028&r1=185027&r2=185028&view=diff
==============================================================================
--- lldb/trunk/examples/python/symbolication.py (original)
+++ lldb/trunk/examples/python/symbolication.py Wed Jun 26 17:24:05 2013
@@ -538,7 +538,7 @@ def Symbolicate(command_args):
     description='''Symbolicate one or more addresses using LLDB's python scripting API..'''
     parser = optparse.OptionParser(description=description, prog='crashlog.py',usage=usage)
     parser.add_option('-v', '--verbose', action='store_true', dest='verbose', help='display verbose debug info', default=False)
-    parser.add_option('-p', '--platform', type='string', metavar='platform', dest='platform', help='specify one platform by name')
+    parser.add_option('-p', '--platform', type='string', metavar='platform', dest='platform', help='Specify the platform to use when creating the debug target. Valid values include "localhost", "darwin-kernel", "ios-simulator", "remote-freebsd", "remote-macosx", "remote-ios", "remote-linux".')
     parser.add_option('-f', '--file', type='string', metavar='file', dest='file', help='Specify a file to use when symbolicating')
     parser.add_option('-a', '--arch', type='string', metavar='arch', dest='arch', help='Specify a architecture to use when symbolicating')
     parser.add_option('-s', '--slide', type='int', metavar='slide', dest='slide', help='Specify the slide to use on the file specified with the --file option', default=None)

Modified: lldb/trunk/examples/python/types.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/types.py?rev=185028&r1=185027&r2=185028&view=diff
==============================================================================
--- lldb/trunk/examples/python/types.py (original)
+++ lldb/trunk/examples/python/types.py Wed Jun 26 17:24:05 2013
@@ -79,7 +79,7 @@ be verified in all specified modules.
     parser = optparse.OptionParser(description=description, prog='framestats',usage=usage)
     if not for_lldb_command:
         parser.add_option('-a', '--arch', type='string', dest='arch', help='The architecture to use when creating the debug target.', default=None)
-        parser.add_option('-p', '--platform', type='string', metavar='platform', dest='platform', help='specify one platform by name')
+        parser.add_option('-p', '--platform', type='string', metavar='platform', dest='platform', help='Specify the platform to use when creating the debug target. Valid values include "localhost", "darwin-kernel", "ios-simulator", "remote-freebsd", "remote-macosx", "remote-ios", "remote-linux".')
     parser.add_option('-m', '--module', action='append', type='string', metavar='MODULE', dest='modules', help='Specify one or more modules which will be used to verify the types.', default=[])
     parser.add_option('-d', '--debug', action='store_true', dest='debug', help='Pause 10 seconds to wait for a debugger to attach.', default=False)
     parser.add_option('-t', '--type', action='append', type='string', metavar='TYPENAME', dest='typenames', help='Specify one or more type names which should be verified. If no type names are specified, all class and struct types will be verified.', default=[])





More information about the lldb-commits mailing list