fix silly mistake

This commit is contained in:
Lynne 2019-08-07 13:48:45 +10:00
parent 1fbaf17e3e
commit 1261af29c3
4 changed files with 4 additions and 11 deletions

2
gen.py
View file

@ -8,7 +8,7 @@ import argparse, json, re
import functions
parser = argparse.ArgumentParser(description='Generate and post a toot.')
parser.add_argument('-c', '--cfg', dest='cfg', action='', default='config.json', nargs='?',
parser.add_argument('-c', '--cfg', dest='cfg', default='config.json', nargs='?',
help="Specify a custom location for config.json.")
parser.add_argument('-s', '--simulate', dest='simulate', action='store_true',
help="Print the toot without actually posting it. Use this to make sure your bot's actually working.")