mirror of
				https://github.com/linka-cloud/grpc.git
				synced 2025-11-04 03:21:50 +00:00 
			
		
		
		
	command: allow unknown flags
This commit is contained in:
		@@ -6,8 +6,9 @@ import (
 | 
				
			|||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var cmd = &cobra.Command{
 | 
					var cmd = &cobra.Command{
 | 
				
			||||||
	Short:        "A gRPC micro service",
 | 
						Short:              "A gRPC micro service",
 | 
				
			||||||
	SilenceUsage: true,
 | 
						SilenceUsage:       true,
 | 
				
			||||||
 | 
						FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true},
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const (
 | 
					const (
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user