Consistency pass on the arguments.
This commit is contained in:
parent
542db0eae0
commit
3e820cf223
1 changed files with 2 additions and 2 deletions
|
@ -605,11 +605,11 @@ def write_grid(grid, screen=False, out_file="table.tex", words=[]):
|
|||
if __name__ == "__main__":
|
||||
# Parse arguments
|
||||
parser = argparse.ArgumentParser(description='Generate a crossword puzzle.')
|
||||
parser.add_argument('--word-file', type=str,
|
||||
parser.add_argument('-f', type=str,
|
||||
default="words.txt",
|
||||
dest="word_file",
|
||||
help="A file containing words, one word per line.")
|
||||
parser.add_argument('--dim', type=int,
|
||||
parser.add_argument('-d', type=int,
|
||||
nargs="+",
|
||||
default=[20, 20],
|
||||
dest="dim",
|
||||
|
|
Loading…
Reference in a new issue