Changeset 56:100e80ed781b


Ignore:
Timestamp:
Apr 3, 2011, 7:33:34 PM (9 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
rebase_source:
13a961c0a71afc80a7abb869cd49a136ec17a652
Message:

Rename scene option to level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/__main__.py

    r38 r56  
    1818            dest="sound", help="disable sound")
    1919    if DEBUG:
    20         parser.add_option("--scene", type="str", default=None,
    21             dest="scene", help="initial scene")
     20        parser.add_option("--level", type="str", default=None,
     21            dest="level", help="initial level")
    2222        parser.add_option("--no-rects", action="store_false", default=True,
    2323            dest="rects", help="disable debugging rects")
     
    4848    pygame.display.set_caption("Nine Tales")
    4949
    50     level = getattr(opts, 'scene', None)
     50    level = getattr(opts, 'level', None)
    5151    level = "level1" if level is None else level
    5252
Note: See TracChangeset for help on using the changeset viewer.