diff options
author | Claude Paroz <claude@2xlibre.net> | 2018-07-02 23:54:57 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2018-07-02 17:54:57 -0400 |
commit | eac9ab7ebb1ce0cbbc79c4cf65e8f70b0635a240 (patch) | |
tree | b188d9e179c1f6b0b8a250c5e1c01bab7a22d1a4 /tests/user_commands | |
parent | 4009e1f2abe6268ba116dd09fbbecfc35b84f89a (diff) | |
download | django-eac9ab7ebb1ce0cbbc79c4cf65e8f70b0635a240.tar.gz |
Removed parser.add_arguments() arguments that match the defaults.
Diffstat (limited to 'tests/user_commands')
-rw-r--r-- | tests/user_commands/management/commands/hal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/user_commands/management/commands/hal.py b/tests/user_commands/management/commands/hal.py index 06388ab2c9..120eec961f 100644 --- a/tests/user_commands/management/commands/hal.py +++ b/tests/user_commands/management/commands/hal.py @@ -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) |