Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
register_server: Rename flag to --agree-to-terms-of-service.
Mateusz Mandera367d193639bb
diff --git a/scripts/lib/install b/scripts/lib/installindex d0eb072121f..c3f3990b538 100755--- a/scripts/lib/install+++ b/scripts/lib/install@@ -758,7 +758,7 @@ else# to not allow future bugs to cause ToS acceptance to be skipped.SKIP_TOS_AGREEMENT_OPTION=""else- SKIP_TOS_AGREEMENT_OPTION="--agree_to_terms_of_service"+ SKIP_TOS_AGREEMENT_OPTION="--agree-to-terms-of-service"fiset +xecho "Services enabled, attempting to register server..."diff --git a/zerver/management/commands/register_server.py b/zerver/management/commands/register_server.pyindex 9bbcc611ccd..6d93868b276 100644--- a/zerver/management/commands/register_server.py+++ b/zerver/management/commands/register_server.py@@ -30,7 +30,7 @@ class Command(ZulipBaseCommand):@overridedef add_arguments(self, parser: ArgumentParser) -> None:parser.add_argument(- "--agree_to_terms_of_service",+ "--agree-to-terms-of-service",action="store_true",help="Agree to the Zulipchat Terms of Service: https://zulip.com/policies/terms.",)