Update README for stub flag
This commit is contained in:
2
main.go
2
main.go
@@ -26,7 +26,7 @@ func main() {
|
||||
flag.StringVar(&flags.outFile, "out", "", "output file (default stdout)")
|
||||
flag.StringVar(&flags.pkgName, "pkg", "", "package name (default will infer)")
|
||||
flag.StringVar(&flags.formatter, "fmt", "", "go pretty-printer: gofmt (default) or goimports")
|
||||
flag.BoolVar(&flags.stubImpl, "stubImpl", false,
|
||||
flag.BoolVar(&flags.stubImpl, "stub", false,
|
||||
"return zero values when no mock implementation is provided, do not panic")
|
||||
|
||||
flag.Usage = func() {
|
||||
|
Reference in New Issue
Block a user