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

Pass RI options to help #267

Merged
merged 1 commit into from
Sep 5, 2021
Merged

Pass RI options to help #267

merged 1 commit into from
Sep 5, 2021

Conversation

f6p
Copy link
Contributor

@f6p f6p commented Aug 9, 2021

Hello,

I noticed help command ignores RI env variable. Sometimes it has little significance but sometimes not - especially if RI env includes list of directories to search. This happens because calling RDoc::RI::Driver.new won't (contrary to what source comments say) parse RI env variable. To parse RI env var process_args has to be called (it returns options that could later be passed to driver).

Cheers
🍷

@aycabta
Copy link
Member

aycabta commented Sep 5, 2021

This is an important correction. Thanks!

@aycabta aycabta merged commit 363a800 into ruby:master Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants