init() 에서 parse 제거
This commit is contained in:
@ -13,10 +13,6 @@ var commandLine = []*flag.FlagSet{
|
||||
flag.NewFlagSet(os.Args[0], flag.ContinueOnError),
|
||||
}
|
||||
|
||||
func init() {
|
||||
Parse()
|
||||
}
|
||||
|
||||
func findProperFlagSet(name string) *flag.FlagSet {
|
||||
for _, cl := range commandLine {
|
||||
if cl.Lookup(name) == nil {
|
||||
|
||||
Reference in New Issue
Block a user