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

Commit 0cd3aaf

Browse files
authored
add flags documentation (#539)
1 parent 317c030 commit 0cd3aaf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ It supports the following flags:
120120

121121
- `-copyright_file`: Copyright file used to add copyright header to the resulting source code.
122122

123+
- `-debug_parser`: Print out parser results only.
124+
125+
- `-exec_only`: (reflect mode) If set, execute this reflection program.
126+
127+
- `-prog_only`: (reflect mode) Only generate the reflection program; write it to stdout and exit.
128+
129+
- `-write_package_comment`: Writes package documentation comment (godoc) if true. (default true)
130+
123131
For an example of the use of `mockgen`, see the `sample/` directory. In simple
124132
cases, you will need only the `-source` flag.
125133

0 commit comments

Comments
 (0)