diff --git a/photologue_custom/management/commands/duplicate.py b/photologue_custom/management/commands/duplicate.py index ff546aa..e597a52 100644 --- a/photologue_custom/management/commands/duplicate.py +++ b/photologue_custom/management/commands/duplicate.py @@ -8,7 +8,11 @@ class Command(BaseCommand): help = 'List all duplicate for chosen galleries' def add_arguments(self, parser): - pass + parser.add_arguments( + '--slugs', nargs='+', help='Try to find duplicate in the selected galleries', default=[]) + parser.add_arguments('-a', '--all', action='store_true', + help='Try to find duplicate in all galleries') + parser.add_arguments('-d', '--delete', action='store_true') def handle(self, *args, **options): pass