Skip to content
forked from gflags/gflags

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:

License

Notifications You must be signed in to change notification settings

jaydee-io/jflags

 
 

Repository files navigation

jflags is a C++ library that implements commandline flags processing. It's a fork of gflags library, with the following improvements :

  • Compatible with the gflags API (Well, at least for the most used ones ;-))
  • Unix-like flag naming convention (e.g. mySuperFlagflag is parsed from command line as --my-super-flag)
  • New API to define a short name for a flag (e.g. DEFINE_short_bool(mySuperFlag, 'm', ...) to use -m on command line)
  • User friendly instead of gflags' developper friendly help message (no source file name, no type information, ...)
  • New API to declare a flag with a category
  • Oh... and also moved to C++11

About

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:

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 78.1%
  • CMake 18.0%
  • Shell 1.4%
  • Python 1.3%
  • C 1.2%