Add missing 'and' in comment
This commit is contained in:
		
				
					committed by
					
						
						Albert Nigmatzianov
					
				
			
			
				
	
			
			
			
						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 {
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								cobra/cmd/testdata/root.go.golden
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								cobra/cmd/testdata/root.go.golden
									
									
									
									
										vendored
									
									
								
							@ -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 {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user