Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

create_user: Improve --help output.

Tim Abbott4da2f154e02b
diff --git a/zerver/management/commands/create_user.py b/zerver/management/commands/create_user.py
index 7a72bd1322c..fae7c4453ca 100644
--- a/zerver/management/commands/create_user.py
+++ b/zerver/management/commands/create_user.py
@@ -9,11 +9,15 @@ from zerver.lib.management import ZulipBaseCommand
class Command(ZulipBaseCommand):
- help = """Create the specified user with a default initial password.
+ help = """Create a new Zulip user via the command line.
-Sets tos_version=None, so that the user needs to do a ToS flow on login.
+Prompts the user for <email> and <full name> if not specified.
-Omit both <email> and <full name> for interactive user creation.
+We recommend the Zulip API (https://zulip.com/api/create-user) instead
+of this tool for most use cases.
+
+If the server has Terms of Service configured, the user will be
+prompted to accept the Terms of Service the first time they login.
"""
def add_arguments(self, parser: argparse.ArgumentParser) -> None: