[Bug]: Help message does not contain some switches (-getProperty, -getTargetResult) #9710
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
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
The text was updated successfully, but these errors were encountered: