Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 87106cf

Browse files
committed
- fixed flag description
1 parent ab0f0fc commit 87106cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mockgen/mockgen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const (
4343
var (
4444
source = flag.String("source", "", "(source mode) Input Go source file; enables source mode.")
4545
destination = flag.String("destination", "", "Output file; defaults to stdout.")
46-
mockNames = flag.String("mockNames", "", "Comma-separated interfaceName=mockName pairs of explicit mock names to use. Mock names default to Mock+'<interfaceName>'")
46+
mockNames = flag.String("mockNames", "", "Comma-separated interfaceName=mockName pairs of explicit mock names to use. Mock names default to 'Mock'+ interfaceName suffix.")
4747
packageOut = flag.String("package", "", "Package of the generated code; defaults to the package of the input with a 'mock_' prefix.")
4848
selfPackage = flag.String("self_package", "", "If set, the package this mock will be part of.")
4949
writePkgComment = flag.Bool("write_package_comment", true, "Writes package documentation comment (godoc) if true.")

0 commit comments

Comments
 (0)