Skip to content

Commit

Permalink
Merge pull request #177 from fsinfuhh/staging
Browse files Browse the repository at this point in the history
  • Loading branch information
lilioid authored Oct 13, 2024
2 parents 5a6dcef + 6a69c46 commit 4551407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mafiasi/registration/management/commands/irz_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class Command(BaseCommand):

def add_arguments(self, parser: ArgumentParser):
argg = parser.add_mutually_exclusive_group(required=True)
argg.add_argument("--group", nargs=1, help="Query for a group by gidNumber")
argg.add_argument("--user", nargs=1, help="Query for a user by uid")
argg.add_argument("--group", help="Query for a group by gidNumber")
argg.add_argument("--user", help="Query for a user by uid")

def handle(self, *args, **options):
if options["group"] is not None:
Expand Down

0 comments on commit 4551407

Please sign in to comment.