+ parser.add_argument("--duration", type=int, default=10,
+ help="how long to activate the device in seconds " +
+ "(default: %(default)d")
+ parser.add_argument("command", nargs=argparse.REMAINDER,
+ help="a command to be executed with the device being" +
+ "activated for the duration of the execution")
+ parser.add_argument("--list", action="store_true",
+ help="list available devices and exit")