Skip to content

Commit b080028

Browse files
committed
Update CLI snapshots
1 parent ccde6b0 commit b080028

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/dotnet.Tests/CompletionTests/snapshots/pwsh/DotnetCliSnapshotTests.VerifyCompletions.verified.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,8 +1097,8 @@ Register-ArgumentCompleter -Native -CommandName 'testhost' -ScriptBlock {
10971097
'testhost;tool;execute' {
10981098
$staticCompletions = @(
10991099
[CompletionResult]::new('--version', '--version', [CompletionResultType]::ParameterName, "The version of the tool package to install.")
1100-
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, "Suppresses confirmation prompt with `"yes`" value.")
1101-
[CompletionResult]::new('--yes', '-y', [CompletionResultType]::ParameterName, "Suppresses confirmation prompt with `"yes`" value.")
1100+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, "Accept all confirmation prompts using `"yes.`"")
1101+
[CompletionResult]::new('--yes', '-y', [CompletionResultType]::ParameterName, "Accept all confirmation prompts using `"yes.`"")
11021102
[CompletionResult]::new('--interactive', '--interactive', [CompletionResultType]::ParameterName, "Allows the command to stop and wait for user input or action (for example to complete authentication).")
11031103
[CompletionResult]::new('--allow-roll-forward', '--allow-roll-forward', [CompletionResultType]::ParameterName, "Allow a .NET tool to roll forward to newer versions of the .NET runtime if the runtime it targets isn`'t installed.")
11041104
[CompletionResult]::new('--prerelease', '--prerelease', [CompletionResultType]::ParameterName, "Include pre-release packages.")

test/dotnet.Tests/CompletionTests/snapshots/zsh/DotnetCliSnapshotTests.VerifyCompletions.verified.zsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,8 +1162,8 @@ _testhost() {
11621162
(execute)
11631163
_arguments "${_arguments_options[@]}" : \
11641164
'--version=[The version of the tool package to install.]:VERSION: ' \
1165-
'--yes[Suppresses confirmation prompt with \"yes\" value.]' \
1166-
'-y[Suppresses confirmation prompt with \"yes\" value.]' \
1165+
'--yes[Accept all confirmation prompts using \"yes.\"]' \
1166+
'-y[Accept all confirmation prompts using \"yes.\"]' \
11671167
'--interactive[Allows the command to stop and wait for user input or action (for example to complete authentication).]' \
11681168
'--allow-roll-forward[Allow a .NET tool to roll forward to newer versions of the .NET runtime if the runtime it targets isn'\''t installed.]' \
11691169
'--prerelease[Include pre-release packages.]' \

0 commit comments

Comments
 (0)