mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 02:07:38 +00:00
Use pflags word separators to make - and _ equiv.
This commit is contained in:
@@ -55,6 +55,7 @@ func isYAML(data []byte) bool {
|
||||
|
||||
func main() {
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
flag.Commandline.SetWordSeparators([]string{"-", "_"})
|
||||
flag.Parse()
|
||||
|
||||
if *rewrite != "" {
|
||||
|
Reference in New Issue
Block a user