hemprasad / gflags

Automatically exported from code.google.com/p/gflags
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Add color to --help #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using the same color scheme as gtest

Original issue reported on code.google.com by chen3feng on 1 Nov 2012 at 6:13

Attachments:

GoogleCodeExporter commented 9 years ago
Very nice. Thanks for the suggestion and providing a patch for this.

I would like to see the ability to define a custom function for handling the 
default reporting flags (such as --help as defined in gflags_reporting.cc), at 
runtime instead, however. The gflags library could then still provide a version 
of its default reporting function(s) which uses color. Moreover, users could 
simply implement their own functions to realize a custom help format. As also 
requested in #32.

Original comment by andreas....@gmail.com on 11 Nov 2012 at 8:48

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 20 Mar 2014 at 4:09