aboutsummaryrefslogtreecommitdiffstats
path: root/solver.py
diff options
context:
space:
mode:
Diffstat (limited to 'solver.py')
-rwxr-xr-xsolver.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/solver.py b/solver.py
index 87273a9..b64e863 100755
--- a/solver.py
+++ b/solver.py
@@ -10,6 +10,7 @@ Usage: solver.py -h|--help
Options:
-h, --help Display this help message
-p Display solution with parents [DEFAULT is without parents]
+ --print Display only the original (unresolved) grid
'''
import copy
@@ -366,6 +367,9 @@ def main():
print('Initial grid:')
print(kanagrid)
+ if args['--print']:
+ return
+
del input_dict
grids = {}