--- a/slotUI/SlotCli.py Thu Dec 08 17:16:06 2011 +0100 +++ b/slotUI/SlotCli.py Thu Dec 08 17:22:14 2011 +0100 @@ -35,6 +35,8 @@ help="Set car lights blinking state", metavar="[on|off]") parser.add_option("--limit", dest="limit", help="Controlled SPEED LIMIT (15 = no limit)", metavar="[0-15]") + parser.add_option("--drive", dest="drive", + help="Controlled SPEED MINIMUM (0 = disabled)", metavar="[0-15]") (options, args) = parser.parse_args() cli = SlotCli() @@ -64,3 +66,6 @@ if options.limit != None: print "Change Speed Limit: " + cli.box.speedlimit(int(options.carid), int(options.limit)) + if options.drive != None: + print "Change minimum Speed drive: " + cli.box.speedminimum(int(options.carid), int(options.drive)) +