Home | History | Annotate | Download | only in python_gflags

Lines Matching refs:DEFINE

39 """This module is used to define and parse command line flags.
42 an application having to define all flags in or near main(), each python
1810 'Flag' objects define the following fields:
2041 Subclasses should also define a syntactic_help string which may be
2151 # The DEFINE functions are explained in mode details in the module doc string.
2154 def DEFINE(parser, name, default, help, flag_values=FLAGS, serializer=None,
2158 NOTE: in the docstrings of all DEFINE* functions, "registers" is short
2313 DEFINE(parser, name, default, help, flag_values, serializer, **args)
2390 apps can define their own --help flag, replacing this one, if they want.
2419 called with allow_override=1, so other apps can define their own
2517 DEFINE(parser, name, default, help, flag_values, serializer, **args)
2578 DEFINE(parser, name, default, help, flag_values, serializer, **args)
2695 DEFINE(parser, name, default, help, flag_values, serializer, **args)
2705 DEFINE(parser, name, default, help, flag_values, serializer, **args)
2847 # Define special flags here so that help may be generated for them.
2860 "on the command line even if the program does not define a flag "