management: Use required kwargs in add_realm_args.

This makes management commands more readable, since one doesn't need
to know details of how the library works to read based code.
This commit is contained in:
Tim Abbott
2021-05-10 12:29:25 -07:00
parent 55f4996f16
commit 2c01354569
21 changed files with 21 additions and 21 deletions

View File

@@ -45,7 +45,7 @@ class ZulipBaseCommand(BaseCommand):
return parser
def add_realm_args(
self, parser: ArgumentParser, required: bool = False, help: Optional[str] = None
self, parser: ArgumentParser, *, required: bool = False, help: Optional[str] = None
) -> None:
if help is None:
help = """The numeric or string ID (subdomain) of the Zulip organization to modify.