diff options
author | nnorwitz <nnorwitz@8415998a-534a-0410-bf83-d39667b30386> | 2009-05-06 05:57:09 +0000 |
---|---|---|
committer | nnorwitz <nnorwitz@8415998a-534a-0410-bf83-d39667b30386> | 2009-05-06 05:57:09 +0000 |
commit | ce60784fb51a5a0e28c14edd53bacbf0d2abb36b (patch) | |
tree | 3497dc072243b1871819bf68d702d52ade6fba5c /scripts/generator/README | |
parent | 60df3efe3971fb54d3a10c557fbc30ff32512bb5 (diff) | |
download | googletest-ce60784fb51a5a0e28c14edd53bacbf0d2abb36b.tar.gz googletest-ce60784fb51a5a0e28c14edd53bacbf0d2abb36b.tar.bz2 googletest-ce60784fb51a5a0e28c14edd53bacbf0d2abb36b.zip |
Allow any number of ClassNames to be specified on the command line.
0 ClassNames means emit all classes found in the file.
Diffstat (limited to 'scripts/generator/README')
-rw-r--r-- | scripts/generator/README | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/generator/README b/scripts/generator/README index a3ba784b..2fc695a6 100644 --- a/scripts/generator/README +++ b/scripts/generator/README @@ -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: |