Home | History | Annotate | Download | only in brillo

Lines Matching refs:help

15 // The FlagHelper class will automatically take care of the --help flag, as
21 // DEFINE_bool(name, default_value, help)
22 // DEFINE_int32(name, default_value, help)
23 // DEFINE_int64(name, default_value, help)
24 // DEFINE_uint64(name, default_value, help)
25 // DEFINE_double(name, default_value, help)
26 // DEFINE_string(name, default_value, help)
73 const char* help,
80 // Returns the type of the flag as a char array, for use in the help message
95 const char* help,
111 const char* help,
126 const char* help,
141 const char* help,
156 const char* help,
171 const char* help,
187 #define DEFINE_type(type, classtype, name, value, help) \
190 new brillo::classtype(#name, &FLAGS_##name, #value, help, true)));
192 #define DEFINE_int32(name, value, help) \
193 DEFINE_type(int, Int32Flag, name, value, help)
194 #define DEFINE_int64(name, value, help) \
195 DEFINE_type(int64_t, Int64Flag, name, value, help)
196 #define DEFINE_uint64(name, value, help) \
197 DEFINE_type(uint64_t, UInt64Flag, name, value, help)
198 #define DEFINE_double(name, value, help) \
199 DEFINE_type(double, DoubleFlag, name, value, help)
200 #define DEFINE_string(name, value, help) \
201 DEFINE_type(std::string, StringFlag, name, value, help)
205 #define DEFINE_bool(name, value, help) \
210 #name, &FLAGS_##name, &FLAGS_no##name, #value, help, true))); \
213 "no" #name, &FLAGS_no##name, &FLAGS_##name, #value, help, false)));
239 // update the FLAGS_xxxx values to the parsed value. If the --help flag is
240 // passed in, it outputs a help message and exits the program. If an unknown
251 // Sets the usage message, which is prepended to the --help message.
258 // Generates a help message from the Usage Message and registered flags.