This repository contains both a C++ and a python implementation of the Google commandline flags module. Documentation for the C++ implementation is in doc/. Documentation for the python implementation is at the top of gflags/flags.py. See INSTALL for (generic) installation instructions for C++: basically ./configure && make && make install To install the python module, run cd python; python ./setup.py install When you install the python library, you also get a helper application, gflags2man.py, installed into /usr/local/bin. You can run gflags2man.py to create an instant man page, with all the commandline flags and their docs, for any C++ or python program you've written using the gflags library.
-
Craig Silverstein authored
* google-gflags: version 1.1 * Add both foo and nofoo for boolean flags, with --undefok (andychu) * Better document how validators work (wojtekm) * Improve binary-detection for bash-completion (mtamsky) * Python: Add a concept of "key flags", used with --help (salcianu) * Python: Robustify flag_values (salcianu) * Python: Add a new DEFINE_bool alias (keir, andrewliu) * Python: Do module introspection based on module name (dsturtevant) * Fix autoconf a bit better, especially on windows and solaris (ajenjo) * BUG FIX: gflags_nothreads was linking against the wrong lib (ajenjo) * BUG FIX: threads-detection failed on FreeBSD; replace it (ajenjo) * PORTABILITY: Quiet an internal compiler error with SUSE 10 (csilvers) * PORTABILITY: Update deb.sh for more recenty debuilds (csilvers) * PORTABILITY: #include more headers to satify new gcc's (csilvers) * INSTALL: Updated to autoconf 2.61 and libtool 1.5.26 (csilvers) git-svn-id: https://gflags.googlecode.com/svn/trunk@29 6586e3c6-dcc4-952a-343f-ff74eb82781d
5a3c7f85