Mercurial > skaapsteker
comparison skaapsteker/__main__.py @ 582:213f46e787c4
Invert --no-rects option (its now --show-rects) and turn rects off by default.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sun, 10 Apr 2011 15:57:48 +0200 |
parents | 5f1058593462 |
children | 72865593bdc7 |
comparison
equal
deleted
inserted
replaced
581:779c29924a8a | 582:213f46e787c4 |
---|---|
37 if DEBUG: | 37 if DEBUG: |
38 parser.add_option("--level", type="str", default=None, | 38 parser.add_option("--level", type="str", default=None, |
39 dest="level", help="Initial level") | 39 dest="level", help="Initial level") |
40 parser.add_option("--all-tails", action="store_true", default=False, | 40 parser.add_option("--all-tails", action="store_true", default=False, |
41 dest='all_tails', help="Start with all the tails") | 41 dest='all_tails', help="Start with all the tails") |
42 parser.add_option("--no-rects", action="store_false", default=True, | 42 parser.add_option("--show-rects", action="store_true", default=False, |
43 dest="rects", help="Disable debugging rects") | 43 dest="rects", help="Disable debugging rects") |
44 opts, _ = parser.parse_args(args or []) | 44 opts, _ = parser.parse_args(args or []) |
45 options['dvorak'] = opts.dvorak | 45 options['dvorak'] = opts.dvorak |
46 options['sound'] = opts.sound | 46 options['sound'] = opts.sound |
47 options['save_location'] = opts.save_location | 47 options['save_location'] = opts.save_location |