gflags

C++ library for processing command-line flags and arguments

brewmacoslinux
Try with needOr install directly
Source

About

Library for processing command-line flags

Commands

gflags

Examples

Display help message for a gflags-enabled program$ my_program --help
Set a command-line flag value when running a program$ my_program --flagname=value
List all registered flags with descriptions$ my_program --helpshort