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" ), )