Skip to content

Commit 2194613

Browse files
committed
changed flask option to stored_true
1 parent 81b65a3 commit 2194613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlacodegen/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def main():
3232
parser.add_argument('--nojoined', action='store_true', help="don't autodetect joined table inheritance")
3333
parser.add_argument('--noinflect', action='store_true', help="don't try to convert tables names to singular form")
3434
parser.add_argument('--nobackrefs', action='store_true', help="don't include backrefs")
35-
parser.add_argument('--flask', action='store_false', help="use Flask-SQLAlchemy columns")
35+
parser.add_argument('--flask', action='store_true', help="use Flask-SQLAlchemy columns")
3636
parser.add_argument('--ignorefk', action='store_true', help="Don't check fk constraints on specified columns (comma-separated)")
3737
parser.add_argument('--outfile', type=argparse.FileType('w'), default=sys.stdout,
3838
help='file to write output to (default: stdout)')

0 commit comments

Comments
 (0)