management commands: Change help text to say realm instead of domain.

This commit is contained in:
Rishi Gupta
2017-03-14 15:43:47 -07:00
committed by Tim Abbott
parent 0c032adbde
commit 92dd767519
4 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ class Command(BaseCommand):
def add_arguments(self, parser):
# type: (ArgumentParser) -> None
parser.add_argument('string_id', metavar='<string_id>', type=str,
help='domain of realm to reactivate')
help='subdomain or string_id of realm to reactivate')
def handle(self, *args, **options):
# type: (*Any, **str) -> None

View File

@@ -12,7 +12,7 @@ from zerver.lib.actions import do_add_realm_filter, do_remove_realm_filter
import sys
class Command(BaseCommand):
help = """Create a link filter rule for the specified domain.
help = """Create a link filter rule for the specified realm.
NOTE: Regexes must be simple enough that they can be easily translated to JavaScript
RegExp syntax. In addition to JS-compatible syntax, the following features are available:

View File

@@ -16,7 +16,7 @@ class Command(BaseCommand):
help = """Set default streams for a realm
Users created under this realm will start out with these streams. This
command is not additive: if you re-run it on a domain with a different
command is not additive: if you re-run it on a realm with a different
set of default streams, those will be the new complete set of default
streams.

View File

@@ -18,7 +18,7 @@ class Command(BaseCommand):
parser.add_argument('-r', '--realm',
dest='string_id',
type=str,
help='Turn off digests for all users in this domain.')
help='Turn off digests for all users in this realm.')
parser.add_argument('-u', '--users',
dest='users',