Skip to content

show_help: only parse specific trees for help files #13247

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jsquyres
Copy link
Member

Instead of only snipping known "bad" directories to traverse (e.g., "3rd-party" and ".git"), also limit the search for text help files to just known "good" top-level directories: opal, ompi, oshmem.

This prevents accidentally traversing into VPATH build directories, for example, and finding PMIx and/or PRTE help files.

FYI @rhc54

Instead of only snipping known "bad" directories to traverse (e.g.,
"3rd-party" and ".git"), also limit the search for text help files to
just known "good" top-level directories: opal, ompi, oshmem.

This prevents accidentally traversing into VPATH build directories,
for example, and finding PMIx and/or PRTE help files.

Signed-off-by: Jeff Squyres <[email protected]>
@rhc54
Copy link
Contributor

rhc54 commented May 10, 2025

Thanks - I already do that since the beginning as it was just easier on my code (only one root directory).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants