From e1820d55d2e29c458cf9eb0654cf4f4c362d62b1 Mon Sep 17 00:00:00 2001 From: Koen Punt Date: Thu, 7 Dec 2023 20:16:35 +0100 Subject: [PATCH] use correct command name in help output --- lldb_commands/search.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lldb_commands/search.py b/lldb_commands/search.py index 75338da..8814fe0 100644 --- a/lldb_commands/search.py +++ b/lldb_commands/search.py @@ -56,16 +56,16 @@ def search(debugger, command, exe_ctx, result, internal_dict): Examples: # Find all UIViews and subclasses of UIViews - find UIView + search UIView # Find all UIStatusBar instances - find UIStatusBar + search UIStatusBar # Find all UIViews, ignore subclasses - find UIView -e + search UIView -e # Find all instances of UIViews (and subclasses) where tag == 5 - find UIView -c "[obj tag] == 5" + search UIView -c "[obj tag] == 5" ''' if not ds.isProcStopped(): @@ -81,7 +81,7 @@ def search(debugger, command, exe_ctx, result, internal_dict): return if not args: - result.SetError('Usage: find NSObjectSubclass\n\nUse \'help find\' for more details') + result.SetError('Usage: search NSObjectSubclass\n\nUse \'help search\' for more details') return clean_command = ('').join(args)