X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/7c95608a9a2aa26532f12f8ca41bf2aa1402b4e1..94cfbe9dd4c59b36f41b7ef85b6da9d20274e23d:/puzzles.but diff --git a/puzzles.but b/puzzles.but index 9aeb20d..7f7f9d6 100644 --- a/puzzles.but +++ b/puzzles.but @@ -368,6 +368,29 @@ There are various other options which affect printing; see below. } +\dt \cw{--save }\e{file-prefix} [ \cw{--save-suffix }\e{file-suffix} ] + +\dd If this option is specified, instead of a puzzle being +displayed, saved-game files for one or more unsolved puzzles are +written to files constructed from the supplied prefix and/or suffix. + +\lcont{ + +If \c{--generate} has also been specified, the invented game IDs will +be used to generate the printed output. Otherwise, a list of game IDs +is expected on standard input (which can be descriptive or random +seeds; see \k{common-id}), in the same format produced by +\c{--generate}. + +For example: + +\c net --generate 12 --save game --save-suffix .sav + +will generate twelve Net saved-game files with the names +\cw{game0.sav} to \cw{game11.sav}. + +} + \dt \cw{--version} \dd Prints version information about the game, and then quits. @@ -2296,7 +2319,8 @@ grid, through the \q{Type} menu. This software is \i{copyright} 2004-2008 Simon Tatham. Portions copyright Richard Boulton, James Harvey, Mike Pinna, Jonas -K\u00F6{oe}lker, Dariusz Olszewski and Michael Schierl. +K\u00F6{oe}lker, Dariusz Olszewski, Michael Schierl and Lambros +Lambrou. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files