Ejemplo n.º 1
0
 def Args(parser):
   flags.AddOperationArgument(parser)
   parser.add_argument(
       '--timeout',
       type=arg_parsers.BoundedInt(lower_bound=0, unlimited=True),
       default=300,
       help=('Maximum number of seconds to wait for an operation to complete. '
             'By default, wait for 300s. Set to *unlimited* to wait '
             'indefinitely.'))
   parser.display_info.AddFormat(flags.OPERATION_FORMAT_BETA)
Ejemplo n.º 2
0
 def Args(parser):
     flags.AddOperationArgument(parser)
     parser.display_info.AddFormat(flags.OPERATION_FORMAT_BETA)