From: Eric S. Raymond Date: Sat, 25 Feb 2017 04:18:10 +0000 (-0500) Subject: Restore use of command line args. X-Git-Tag: 2.2~35 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=e105275e7ccdad6c0cfd36304ac9db688fcf30ed;p=super-star-trek.git Restore use of command line args. --- diff --git a/sst.py b/sst.py index 97e0387..8a6c772 100755 --- a/sst.py +++ b/sst.py @@ -3156,6 +3156,7 @@ def finish(ifin): prout(_("to think about pigeons.")) game.gamewon = True score() + scanner.chew() # Clean up leftovers def score(): "Compute player's score." @@ -5856,9 +5857,9 @@ def choose(): game.tourn = game.length = 0 game.thawed = False game.skill = SKILL_NONE - scanner.chew() -# if not scanner.inqueue: # Can start with command line options - proutn(_("Would you like a regular, tournament, or saved game? ")) + # Do not chew here, we want to use command-line tokens + if not scanner.inqueue: # Can start with command line options + proutn(_("Would you like a regular, tournament, or saved game? ")) scanner.nexttok() if scanner.sees("tournament"): while scanner.nexttok() == "IHEOL":