Skip to content

Commit b9a03d2

Browse files
edvilmedsplaisted
authored andcommitted
Update cli snapshots
1 parent 7706c72 commit b9a03d2

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

test/dotnet.Tests/CompletionTests/snapshots/bash/DotnetCliSnapshotTests.VerifyCompletions.verified.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,7 @@ _testhost_tool_run() {
17291729
prev="${COMP_WORDS[COMP_CWORD-1]}"
17301730
COMPREPLY=()
17311731

1732-
opts="--allow-roll-forward --help"
1732+
opts="--allow-roll-forward --from-source --help"
17331733

17341734
if [[ $COMP_CWORD == "$1" ]]; then
17351735
COMPREPLY=( $(compgen -W "$opts" -- "$cur") )

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,7 @@ Register-ArgumentCompleter -Native -CommandName 'testhost' -ScriptBlock {
10571057
'testhost;tool;run' {
10581058
$staticCompletions = @(
10591059
[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.")
1060+
[CompletionResult]::new('--from-source', '--from-source', [CompletionResultType]::ParameterName, "Executes a tool from source without permanently installing it. ")
10601061
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, "Show command line help.")
10611062
[CompletionResult]::new('--help', '-h', [CompletionResultType]::ParameterName, "Show command line help.")
10621063
)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,6 +1127,7 @@ _testhost() {
11271127
(run)
11281128
_arguments "${_arguments_options[@]}" : \
11291129
'--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.]' \
1130+
'--from-source[Executes a tool from source without permanently installing it. ]' \
11301131
'--help[Show command line help.]' \
11311132
'-h[Show command line help.]' \
11321133
':commandName -- The command name of the tool to run.: ' \

0 commit comments

Comments
 (0)