The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used. Online documentation available at:
Find a file
Craig Silverstein eb2083998d Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com>
* google-gflags: version 0.6
	* Deal correctly with case that libpthread is not linked in (csilvers)
	* Update Makefile/tests so we pass "make distcheck" (csilvers)
	* Document and test that last assignment to a flag wins (wan)


git-svn-id: https://gflags.googlecode.com/svn/trunk@17 6586e3c6-dcc4-952a-343f-ff74eb82781d
2007-08-15 19:44:54 +00:00
doc Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
m4 Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com> 2007-08-15 19:44:54 +00:00
packages Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com> 2007-08-15 19:44:54 +00:00
python Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com> 2007-08-15 19:44:54 +00:00
src Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com> 2007-08-15 19:44:54 +00:00
aclocal.m4 Tue Jun 12 15:23:42 2007 Google Inc. <opensource@google.com> 2007-06-12 23:59:42 +00:00
AUTHORS gflags 0.1 2007-03-22 00:15:41 +00:00
autogen.sh Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com> 2007-08-15 19:44:54 +00:00
ChangeLog Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com> 2007-08-15 19:44:54 +00:00
compile gflags 0.1 2007-03-22 00:15:41 +00:00
config.guess Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
config.sub Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
configure Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com> 2007-08-15 19:44:54 +00:00
configure.ac Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com> 2007-08-15 19:44:54 +00:00
COPYING gflags 0.1 2007-03-22 00:15:41 +00:00
depcomp Tue Jun 12 15:23:42 2007 Google Inc. <opensource@google.com> 2007-06-12 23:59:42 +00:00
INSTALL Tue Jun 12 15:23:42 2007 Google Inc. <opensource@google.com> 2007-06-12 23:59:42 +00:00
install-sh Tue Jun 12 15:23:42 2007 Google Inc. <opensource@google.com> 2007-06-12 23:59:42 +00:00
ltmain.sh Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
Makefile.am Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com> 2007-08-15 19:44:54 +00:00
Makefile.in Wed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com> 2007-08-15 19:44:54 +00:00
missing Tue Jun 12 15:23:42 2007 Google Inc. <opensource@google.com> 2007-06-12 23:59:42 +00:00
mkinstalldirs Tue Jun 12 15:23:42 2007 Google Inc. <opensource@google.com> 2007-06-12 23:59:42 +00:00
NEWS gflags 0.1 2007-03-22 00:15:41 +00:00
README gflags 0.2 2007-03-22 00:18:13 +00:00

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.