Skip to content

Add support for UnsupportedArguments - #2216

Merged
Ryan (ryfu-msft) merged 14 commits into
microsoft:masterfrom
ryfu-msft:UnsupportedArgs
Jun 21, 2022
Merged

Ryan (ryfu-msft) merged 14 commits into
microsoft:masterfrom
ryfu-msft:UnsupportedArgs

Conversation

@ryfu-msft

@ryfu-msft Ryan (ryfu-msft) commented Jun 3, 2022 •

Copy link
Copy Markdown
Contributor

Resolves #1277

Changes:

  • Fixes the schema as UnsupportedArguments was defined by not included in the installer object.
  • Checks if arguments are provided that match the unsupportedArguments present in the manifest and shows an error message to the user.

Tests:

  • Verifies that the correct error message is shown if an unsupported argument is provided
Microsoft Reviewers: Open in CodeFlow

@ryfu-msft
Ryan (ryfu-msft) requested a review from a team as a code owner June 3, 2022 18:52
@ghost ghost added Area-Manifest This may require a change to the manifest Issue-Feature This is a feature request for the Windows Package Manager client. labels Jun 3, 2022
Comment thread src/AppInstallerCLITests/WorkFlow.cpp Resolved
@ghost ghost added the Needs-Author-Feedback Issue needs attention from issue or PR author label Jun 7, 2022
@ghost ghost removed the Needs-Author-Feedback Issue needs attention from issue or PR author label Jun 7, 2022
Comment thread src/AppInstallerCLICore/Argument.h Resolved
@ghost ghost added the Needs-Author-Feedback Issue needs attention from issue or PR author label Jun 7, 2022
@ghost ghost removed the Needs-Author-Feedback Issue needs attention from issue or PR author label Jun 9, 2022
@ghost ghost added the Needs-Author-Feedback Issue needs attention from issue or PR author label Jun 16, 2022
@ghost ghost removed the Needs-Author-Feedback Issue needs attention from issue or PR author label Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Manifest This may require a change to the manifest Issue-Feature This is a feature request for the Windows Package Manager client.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the ability to identify unsupported arguments

4 participants