From 0d8bc98f8eda95297892968882b3580e414ee972 Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Fri, 26 Jun 2020 20:11:46 +0200 Subject: [PATCH] Remove forgotten option from lintmigrations command --- .../management/commands/lintmigrations.py | 9 --------- django_migration_linter/management/utils.py | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/django_migration_linter/management/commands/lintmigrations.py b/django_migration_linter/management/commands/lintmigrations.py index d3e47e0..2c6758d 100644 --- a/django_migration_linter/management/commands/lintmigrations.py +++ b/django_migration_linter/management/commands/lintmigrations.py @@ -38,15 +38,6 @@ class Command(BaseCommand): nargs="*", help="ignore migrations with exactly one of these names", ) - parser.add_argument( - "--database", - type=str, - nargs="?", - help=( - "specify the database for which to generate the SQL. " - "Defaults to default" - ), - ) parser.add_argument( "--project-root-path", type=str, nargs="?", help="django project root path" ) diff --git a/django_migration_linter/management/utils.py b/django_migration_linter/management/utils.py index 40f251e..14ae4c1 100644 --- a/django_migration_linter/management/utils.py +++ b/django_migration_linter/management/utils.py @@ -4,7 +4,7 @@ def register_linting_configuration_options(parser): type=str, nargs="?", help=( - "specify the database for which to generate the SQL. " "Defaults to default" + "specify the database for which to generate the SQL. Defaults to default" ), )