[ux] 'new-domain' argument of maindomain command was confusing

This commit is contained in:
Laurent Peuch 2019-09-11 04:29:04 +02:00
parent d063348d9b
commit 3bc4945ccf
2 changed files with 2 additions and 2 deletions

View file

@ -1547,7 +1547,7 @@ tools:
- PUT /domains/main
arguments:
-n:
full: --new-domain
full: --new-main-domain
help: Change the current main domain
extra:
pattern: *pattern_domain

View file

@ -165,7 +165,7 @@ def tools_adminpw(new_password, check_strength=True):
@is_unit_operation()
def tools_maindomain(operation_logger, new_domain=None):
def tools_maindomain(operation_logger, new_main_domain=None):
"""
Check the current main domain, or change it