Skip to content

Commit c51725a

Browse files
committed
Fixed ignorefk option error
1 parent 8f2938f commit c51725a

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
@@ -33,7 +33,7 @@ def main():
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")
3535
parser.add_argument('--flask', action='store_true', help="use Flask-SQLAlchemy columns")
36-
parser.add_argument('--ignorefk', action='store_true', help="Don't check fk constraints on specified columns (comma-separated)")
36+
parser.add_argument('--ignorefk', 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)')
3939
args = parser.parse_args()

0 commit comments

Comments
 (0)