mirror of
https://github.com/spf13/cobra
synced 2025-05-06 13:27:26 +00:00
Fix fmt failures
This commit is contained in:
parent
d2d06612ed
commit
f28371eea1
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ func TestBashCompletions(t *testing.T) {
|
||||||
ArgAliases: []string{"pods", "nodes", "services", "replicationcontrollers", "po", "no", "svc", "rc"},
|
ArgAliases: []string{"pods", "nodes", "services", "replicationcontrollers", "po", "no", "svc", "rc"},
|
||||||
ValidArgs: []string{"pod", "node", "service", "replicationcontroller"},
|
ValidArgs: []string{"pod", "node", "service", "replicationcontroller"},
|
||||||
BashCompletionFunction: bashCompletionFunc,
|
BashCompletionFunction: bashCompletionFunc,
|
||||||
Run: emptyRun,
|
Run: emptyRun,
|
||||||
}
|
}
|
||||||
rootCmd.Flags().IntP("introot", "i", -1, "help message for flag introot")
|
rootCmd.Flags().IntP("introot", "i", -1, "help message for flag introot")
|
||||||
rootCmd.MarkFlagRequired("introot")
|
rootCmd.MarkFlagRequired("introot")
|
||||||
|
|
Loading…
Add table
Reference in a new issue