mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed parser.add_arguments() arguments that match the defaults.
This commit is contained in:
@@ -6,7 +6,7 @@ class Command(BaseCommand):
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('args', metavar='app_label', nargs='*', help='Specify the app label(s) to works on.')
|
||||
parser.add_argument('--empty', action='store_true', dest='empty', help="Do nothing.")
|
||||
parser.add_argument('--empty', action='store_true', help="Do nothing.")
|
||||
|
||||
def handle(self, *app_labels, **options):
|
||||
app_labels = set(app_labels)
|
||||
|
||||
Reference in New Issue
Block a user