absl::UnrecognizedFlag

Represents information about an unrecognized flag in the command line.

Synopsis

Declared in <absl/flags/parse.h>

struct UnrecognizedFlag;

Enums

NameDescription
Source Indicates where an unrecognized flag was found.

Member Functions

NameDescription
UnrecognizedFlag [constructor]Constructs an UnrecognizedFlag for a flag found at the given source.

Data Members

NameDescription
flag_name Name of the flag we did not recognize in --flag_name=value or --flag_name.
source Indicates where we found this flag: on the original command line or read in some flag file.

Non-Member Functions

NameDescription
operator==Compares two UnrecognizedFlag instances for equality.