Lines Matching refs:flags
48 import gflags as flags # http://code.google.com/p/python-gflags/ namespace
52 FLAGS = flags.FLAGS
407 flags.DEFINE_boolean("status", None, "Print power meter status")
408 flags.DEFINE_integer("avg", None,
410 flags.DEFINE_float("voltage", None, "Set output voltage (0 for off)")
411 flags.DEFINE_float("current", None, "Set max output current")
412 flags.DEFINE_string("usbpassthrough", None, "USB control (on, off, auto)")
413 flags.DEFINE_integer("samples", None, "Collect and print this many samples")
414 flags.DEFINE_integer("hz", 5000, "Print this many samples/sec")
415 flags.DEFINE_string("device", None,
417 flags.DEFINE_integer("serialno", None, "Look for a device with this serial number")
418 flags.DEFINE_boolean("timestamp", None,
420 flags.DEFINE_boolean("ramp", True, "Gradually increase voltage")