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:
nnorwitz
2009-05-06 05:57:09 +00:00
parent 60df3efe39
commit ce60784fb5
2 changed files with 18 additions and 7 deletions

View File

@@ -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: