Allow any number of ClassNames to be specified on the command line.
0 ClassNames means emit all classes found in the file.
This commit is contained in:
@@ -14,7 +14,9 @@ to generate a Google Mock class.
|
||||
Make sure to install the scripts somewhere in your path. Then you can
|
||||
run the program.
|
||||
|
||||
gmock_gen.py header-file.h ClassName
|
||||
gmock_gen.py header-file.h [ClassName1] [ClassName2] ...
|
||||
|
||||
If no ClassNames are specified, all classes in the file are emitted.
|
||||
|
||||
To change the indentation from the default of 2, set INDENT in
|
||||
the environment. For example to use an indent of 4 spaces:
|
||||
|
||||
Reference in New Issue
Block a user