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

[Bug]: Help message does not contain some switches (-getProperty, -getTargetResult) #9710

Open
ladipro opened this issue Feb 5, 2024 · 1 comment · May be fixed by #9719
Open

[Bug]: Help message does not contain some switches (-getProperty, -getTargetResult) #9710

ladipro opened this issue Feb 5, 2024 · 1 comment · May be fixed by #9719
Assignees
Labels
bug help wanted Issues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim. internal-team-onboarding Priority:2 Work that is important, but not critical for the release triaged

Comments

@ladipro
Copy link
Member

ladipro commented Feb 5, 2024

Issue Description

Some of the supported command line switches are not mentioned in the help message. For example -getProperty and -getTargetResult but there may be more.

Steps to Reproduce

msbuild -h

Expected Behavior

Contains help for -getProperty.

Actual Behavior

Does not contain help for -getProperty.

Analysis

All switches should be cross-checked against the help message strings to see what else is missing. It may also be useful to introduce a lightweight mechanism for keeping help up-to-date, for example by having to list the relevant string resource ID in s_parameterlessSwitchesMap / s_parameterizedSwitchesMap.

Versions & Configurations

No response

@ladipro ladipro added bug needs-triage Have yet to determine what bucket this goes in. labels Feb 5, 2024
This was referenced Feb 5, 2024
@surayya-MS
Copy link
Member

surayya-MS commented Feb 5, 2024

NOTE: Help message should also contain new switches -featureavailability and -fa from #9665

@AR-May AR-May added Priority:2 Work that is important, but not critical for the release internal-team-onboarding labels Feb 6, 2024
@AR-May AR-May added help wanted Issues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim. triaged and removed needs-triage Have yet to determine what bucket this goes in. labels Feb 6, 2024
@JaynieBai JaynieBai linked a pull request Feb 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help wanted Issues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim. internal-team-onboarding Priority:2 Work that is important, but not critical for the release triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants