Skip to content
Myr

Fix some typos (mostly found by codespell) (#1514)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Stefan Weil · committed by GitHub · parent ff2c55e · Browse files · 2 files+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Stefan Weil <sw@weilnetz.de>

Diff stats

2 files+5 added−5 removed

  • other:+5 added−5 removed

2 files+5 added−5 removed

modified:command_test.go+4 added-4 removed
1412 unmodified lines
1413 for _, v := range []struct {1414 name string1415 got string1416 }{1417 // TODO: currently PersistenPreRun* defined in parent does not1418 // run if the matchin child subcommand has PersistenPreRun.1417 // TODO: currently PersistentPreRun* defined in parent does not1418 // run if the matching child subcommand has PersistentPreRun.1419 // If the behavior changes (https://github.com/spf13/cobra/issues/252)1420 // this test must be fixed.1421 {"parentPersPreArgs", parentPersPreArgs},1422 {"parentPreArgs", parentPreArgs},1423 {"parentRunArgs", parentRunArgs},1424 {"parentPostArgs", parentPostArgs},1425 // TODO: currently PersistenPostRun* defined in parent does not1426 // run if the matchin child subcommand has PersistenPostRun.1425 // TODO: currently PersistentPostRun* defined in parent does not1426 // run if the matching child subcommand has PersistentPostRun.1427 // If the behavior changes (https://github.com/spf13/cobra/issues/252)1428 // this test must be fixed.1429 {"parentPersPostArgs", parentPersPostArgs},1430 } {
630 unmodified lines
modified:powershell_completions.go+1 added-1 removed
231 unmodified lines
232 # TabCompleteNext and in case we get something unknown233 Default {234 # Like MenuComplete but we don't want to add a space here because235 # the user need to press space anyway to get the completion.236 # Description will not be shown because thats not possible with TabCompleteNext236 # Description will not be shown because that's not possible with TabCompleteNext237 [System.Management.Automation.CompletionResult]::new($($comp.Name | __%[1]s_escapeStringWithSpecialChars), "$($comp.Name)", 'ParameterValue', "$($comp.Description)")238 }239 }240
45 unmodified lines