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

Add ability to save "local" help only #4388

Merged
merged 4 commits into from
Aug 26, 2023

Conversation

mwichmann
Copy link
Collaborator

An additional keyword argument, local_only, is now recorgnized by Help(). If true, and append is True, then only project-defined help messages are saved into the help text. That is, save help added by calls to AddOption, but not SCons' own help, which is added a different way.

Fixes #2356
Fixes #3686

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt (and read the README.rst)
  • I have updated the appropriate documentation

An additional keyword argument, "local_only", is now recorgnized
by Help(). If true, and "append" is True, then only project-defined
help messages are saved into the help text. That is, save help added
by calls to AddOption, but not SCons' own help, which is added
a different way.

Fixes SCons#2356
Fixes SCons#3686

Signed-off-by: Mats Wichmann <mats@linux.com>
doc/user/output.xml Outdated Show resolved Hide resolved
doc/user/output.xml Outdated Show resolved Hide resolved
doc/user/output.xml Outdated Show resolved Hide resolved
@bdbaddog
Copy link
Contributor

Ok. I think I finally understand this. Merging.

@bdbaddog bdbaddog merged commit f4d343d into SCons:master Aug 26, 2023
4 of 5 checks passed
@mwichmann mwichmann added this to the NextRelease milestone Aug 27, 2023
@mwichmann mwichmann deleted the feature/local-help branch June 29, 2024 16:50
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.

Don't lose local-options help text scons -h should print new options
2 participants