From 5169e372472c650f1f936bb385f58f146910cd6f Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sat, 17 May 2014 13:43:40 +0200 Subject: [PATCH] Allow --deck and --load in non-debug mode. --- naja/options.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/naja/options.py b/naja/options.py index dd3e69d..19d3e74 100644 --- a/naja/options.py +++ b/naja/options.py @@ -59,16 +59,20 @@ def parse_args(args): parser.add_option("--save-location", default=_get_default_save_location(), dest="save_location", help="Saved game location") + parser.add_option('--deck', default=None, + help='Start with a new game for a specific deck' + ' (bypassing the menu).') + + parser.add_option('--load', default=None, type=int, + help='Start with a specific save game loaded' + ' (bypassing the menu). Slot values are 0-7.') + if options.debug: parser.add_option('--initial-bits', type=int, help='Initial player bits') 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, type=int, - help='Start with a specific save game loaded (0-7)') opts, _ = parser.parse_args(args) -- 2.34.1