From a9eabe31c5e5705cba7745c3a862243357d25441 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Wed, 25 May 2022 11:04:14 +0900 Subject: [PATCH] Update help text for search When following the help message and use `find`, lldb gives me this error: > (lldb) find UIView > error: 'find' is not a valid command. It seems we should use `search`, following what was mentioned in README. --- lldb_commands/search.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lldb_commands/search.py b/lldb_commands/search.py index 75338da..1e6266a 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():