projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e67cf37
)
Add debug options for starting straight at a particular deck or save game (currently...
author
Simon Cross
<hodgestar@gmail.com>
Sat, 17 May 2014 10:27:34 +0000
(12:27 +0200)
committer
Simon Cross
<hodgestar@gmail.com>
Sat, 17 May 2014 10:27:55 +0000
(12:27 +0200)
naja/options.py
patch
|
blob
|
history
diff --git
a/naja/options.py
b/naja/options.py
index 5c80b1b32f3cd834fb7ebc5ea4391964a22ade2c..6fe75660987b364ab138dc5144156123c72d9b3c 100644
(file)
--- a/
naja/options.py
+++ b/
naja/options.py
@@
-38,6
+38,10
@@
def parse_args(args):
parser.add_option('--cheat-enabled', default=False,
action='store_true',
help='For those too lazy to type the KONAMI code')
+ parser.add_option('--deck', default=None,
+ help='Start with a new game for a specific deck')
+ parser.add_option('--load', default=None,
+ help='Start with a specific save game loaded')
opts, _ = parser.parse_args(args)