Skip to content

Change version flag format for dotnet tool update#329

Merged
DecSmith42 merged 1 commit into
mainfrom
fix/dotnet-tool-install-helper
May 21, 2026
Merged

Change version flag format for dotnet tool update#329
DecSmith42 merged 1 commit into
mainfrom
fix/dotnet-tool-install-helper

Conversation

@DecSmith42
Copy link
Copy Markdown
Owner

This pull request makes a small but important change to the way the version flag is passed when updating a .NET tool. The code now uses the correct --version flag instead of the shorthand -v, which improves compatibility and clarity.

  • Changed the version flag in the dotnet tool update command from -v to --version in IDotnetToolInstallHelper.cs to use the correct syntax.

Copilot AI review requested due to automatic review settings May 21, 2026 00:38
@DecSmith42 DecSmith42 enabled auto-merge May 21, 2026 00:38
@DecSmith42 DecSmith42 disabled auto-merge May 21, 2026 00:38
@DecSmith42 DecSmith42 merged commit d4a2931 into main May 21, 2026
1 of 43 checks passed
@DecSmith42 DecSmith42 deleted the fix/dotnet-tool-install-helper branch May 21, 2026 00:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the dotnet tool update invocation to use the correct long-form --version option instead of -v, improving correctness and compatibility with the .NET CLI.

Changes:

  • Replaced the -v flag with --version when a specific tool version is provided.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants