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

Fix #548: :i? doesnt provide command description #551

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

enovella
Copy link
Contributor

No description provided.

@@ -85,7 +85,7 @@ const commandHandlers = {
'ii*': info.listImportsR2,
iij: info.listImportsJson,
il: [info.listModules, 'list libraries'],
'il.': info.listModulesHere,
'il.': [info.listModulesHere, 'list libraries of current offset'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to define an interface for this commandHandlers object so that doesnt fail at runtime. Also if thats the case, there are many other commands that take the function name instead of an array. So im not sure if thats whats expected

@trufae
Copy link
Member

trufae commented Jan 30, 2024

Merging, but the ticket was not reported properly and it was not clear what was about to fix this, i have commented this in the other side too.

i will do a proper fix to avoid having to document every single subcommand modifier which was the intention as its how things are in r2

@trufae trufae merged commit e6dec60 into nowsecure:master Jan 30, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants