mirror of https://github.com/spf13/cobra.git
Add missing 'and' in comment
This commit is contained in:
parent
99b5d838ca
commit
31694f19ad
|
@ -165,7 +165,7 @@ to quickly create a Cobra application.` + "`" + `,
|
|||
// Run: func(cmd *cobra.Command, args []string) { },
|
||||
}
|
||||
|
||||
// Execute adds all child commands to the root command sets flags appropriately.
|
||||
// Execute adds all child commands to the root command and sets flags appropriately.
|
||||
// This is called by main.main(). It only needs to happen once to the rootCmd.
|
||||
func Execute() {
|
||||
if err := RootCmd.Execute(); err != nil {
|
||||
|
|
|
@ -39,7 +39,7 @@ to quickly create a Cobra application.`,
|
|||
// Run: func(cmd *cobra.Command, args []string) { },
|
||||
}
|
||||
|
||||
// Execute adds all child commands to the root command sets flags appropriately.
|
||||
// Execute adds all child commands to the root command and sets flags appropriately.
|
||||
// This is called by main.main(). It only needs to happen once to the rootCmd.
|
||||
func Execute() {
|
||||
if err := RootCmd.Execute(); err != nil {
|
||||
|
|
Loading…
Reference in New Issue