Add pkg/initflag
parent
4965b89243
commit
42a69a9a27
|
@ -23,6 +23,8 @@ import (
|
|||
"os"
|
||||
"strconv"
|
||||
|
||||
_ "k8s.io/minikube/pkg/initflag"
|
||||
|
||||
"github.com/golang/glog"
|
||||
"github.com/pkg/profile"
|
||||
"k8s.io/minikube/cmd/minikube/cmd"
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
package initflag
|
||||
|
||||
import (
|
||||
"flag"
|
||||
)
|
||||
|
||||
func init() {
|
||||
fs := flag.NewFlagSet("", flag.ContinueOnError)
|
||||
|
||||
_ = fs.Parse([]string{})
|
||||
flag.CommandLine = fs
|
||||
}
|
Loading…
Reference in New Issue