Lines Matching refs:flags
57 import gflags as flags # http://code.google.com/p/python-gflags/ namespace
61 FLAGS = flags.FLAGS
437 flags.DEFINE_boolean("status", None, "Print power meter status")
438 flags.DEFINE_integer("avg", None,
440 flags.DEFINE_float("voltage", None, "Set output voltage (0 for off)")
441 flags.DEFINE_float("current", None, "Set max output current")
442 flags.DEFINE_string("usbpassthrough", None, "USB control (on, off, auto)")
443 flags.DEFINE_integer("samples", None,
446 flags.DEFINE_integer("hz", 5000, "Print this many samples/sec")
447 flags.DEFINE_string("device", None,
449 flags.DEFINE_integer("serialno", None, "Look for a device with this serial number")
450 flags.DEFINE_boolean("timestamp", None,
452 flags.DEFINE_boolean("ramp", True, "Gradually increase voltage")
453 flags.DEFINE_boolean("includeusb", False, "Include measurements from USB channel")