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

Touch up text around require statements w.r.t. -I / -L flags #25072

Merged
merged 2 commits into from
May 23, 2024

Conversation

bradcray
Copy link
Member

[based on feedback and suggestions by @psath]

Based on feedback in #24963, this PR strives to improve the documentation of the require statement to clarify that it doesn't accept general chpl command-line flags and refactors the description of the -I and -L flags to try and clarify their role in common to listing files on the command-line or require statements. While here, I also did some wordsmithing and formatting adjustments.

Resolves #24963.

[based on feedback and suggestions by @psath]

Based on feedback in chapel-lang#24963, this PR strives to improve the
documentation of the ``require`` statement to clarify that it doesn't
accept general `chpl` command-line flags and refactors the description
of the -I and -L flags to try and clarify their role in common to
listing files on the command-line or `require` statements.  While
here, I also did some wordsmithing and formatting adjustments.

Resolves chapel-lang#24963.

---
Signed-off-by: Brad Chamberlain <bradcray@users.noreply.github.com>
@bradcray
Copy link
Member Author

@lydia-duncan: Would you review this since you were contributing to and following the discussion on #25072?

@lydia-duncan lydia-duncan self-requested a review May 20, 2024 16:49
Copy link
Member

@lydia-duncan lydia-duncan left a comment

Choose a reason for hiding this comment

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

Thanks Brad! I was hoping to get to this myself as well but had been distracted by other things :(

This is a strong improvement to the section in general and I appreciate you taking it on. I had one minor wordsmithing nit but otherwise think this is good to go as is

doc/rst/technotes/extern.rst Outdated Show resolved Hide resolved
---
Signed-off-by: Brad Chamberlain <bradcray@users.noreply.github.com>
@bradcray bradcray merged commit 75a070a into chapel-lang:main May 23, 2024
7 checks passed
@bradcray bradcray deleted the clarify-require-flags branch May 23, 2024 02:20
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.

Documentation clarification: -l is useable in require statements, but -L and -I are not
2 participants