From ce60784fb51a5a0e28c14edd53bacbf0d2abb36b Mon Sep 17 00:00:00 2001 From: nnorwitz Date: Wed, 6 May 2009 05:57:09 +0000 Subject: Allow any number of ClassNames to be specified on the command line. 0 ClassNames means emit all classes found in the file. --- scripts/generator/README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/generator/README') 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: -- cgit v1.2.3