Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use correct command name in help output #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lldb_commands/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -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)
Expand Down