mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-10-17 21:01:06 +02:00
Use pflag only
This commit is contained in:
parent
510d18cdb6
commit
dd7cd65cd4
@ -1,7 +1,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
@ -16,7 +15,7 @@ func main() {
|
||||
config.AddFlags(pflag.CommandLine)
|
||||
pflag.Parse()
|
||||
|
||||
flag.Set("logtostderr", "true")
|
||||
pflag.Set("logtostderr", "true")
|
||||
|
||||
if config.HelpRequested {
|
||||
pflag.Usage()
|
||||
|
Loading…
x
Reference in New Issue
Block a user