Merge "Clarify that name or ID can be used on TLDs"

This commit is contained in:
Zuul 2021-11-24 21:48:02 +00:00 committed by Gerrit Code Review
commit 5951a78dda
1 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ class ShowTLDCommand(command.ShowOne):
def get_parser(self, prog_name):
parser = super(ShowTLDCommand, self).get_parser(prog_name)
parser.add_argument('id', help="TLD ID")
parser.add_argument('id', help="TLD name or ID")
common.add_all_common_options(parser)
@ -104,7 +104,7 @@ class SetTLDCommand(command.ShowOne):
def get_parser(self, prog_name):
parser = super(SetTLDCommand, self).get_parser(prog_name)
parser.add_argument('id', help="TLD ID")
parser.add_argument('id', help="TLD name or ID")
parser.add_argument('--name', help="TLD Name")
description_group = parser.add_mutually_exclusive_group()
description_group.add_argument('--description', help="Description")
@ -139,7 +139,7 @@ class DeleteTLDCommand(command.Command):
def get_parser(self, prog_name):
parser = super(DeleteTLDCommand, self).get_parser(prog_name)
parser.add_argument('id', help="TLD ID")
parser.add_argument('id', help="TLD name or ID")
common.add_all_common_options(parser)