mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-21 12:14:29 +03:00
make clear in help text when will be prompted
This commit is contained in:
parent
d4c389f0e4
commit
81b56f8078
1 changed files with 2 additions and 2 deletions
|
@ -164,12 +164,12 @@ if __name__ == "__main__":
|
|||
admin_group.add_argument(
|
||||
"-a", "--admin",
|
||||
action="store_true",
|
||||
help="Register new user as an admin. Will prompt if --no-admin is not set.",
|
||||
help="Register new user as an admin. Will prompt if --no-admin is not set either.",
|
||||
)
|
||||
admin_group.add_argument(
|
||||
"--no-admin",
|
||||
action="store_false",
|
||||
help="Register new user as a regular user.",
|
||||
help="Register new user as a regular user. Will prompt if --admin is not set either.",
|
||||
)
|
||||
|
||||
group = parser.add_mutually_exclusive_group(required=True)
|
||||
|
|
Loading…
Reference in a new issue