mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
register_server: Rename flag to --agree-to-terms-of-service.
That's a better style than the underscores.
This commit is contained in:
committed by
Tim Abbott
parent
1c57e04cc1
commit
367d193639
@@ -758,7 +758,7 @@ else
|
|||||||
# to not allow future bugs to cause ToS acceptance to be skipped.
|
# to not allow future bugs to cause ToS acceptance to be skipped.
|
||||||
SKIP_TOS_AGREEMENT_OPTION=""
|
SKIP_TOS_AGREEMENT_OPTION=""
|
||||||
else
|
else
|
||||||
SKIP_TOS_AGREEMENT_OPTION="--agree_to_terms_of_service"
|
SKIP_TOS_AGREEMENT_OPTION="--agree-to-terms-of-service"
|
||||||
fi
|
fi
|
||||||
set +x
|
set +x
|
||||||
echo "Services enabled, attempting to register server..."
|
echo "Services enabled, attempting to register server..."
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ class Command(ZulipBaseCommand):
|
|||||||
@override
|
@override
|
||||||
def add_arguments(self, parser: ArgumentParser) -> None:
|
def add_arguments(self, parser: ArgumentParser) -> None:
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--agree_to_terms_of_service",
|
"--agree-to-terms-of-service",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Agree to the Zulipchat Terms of Service: https://zulip.com/policies/terms.",
|
help="Agree to the Zulipchat Terms of Service: https://zulip.com/policies/terms.",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user