management: Remove the parameter required from add_user_list_args.

We remove an unecessary "required" paramter from this function
because as seen in the get_users() function right below, you have
to pass either -u/--users or -a/--all-users, meaning there should
never be a reason to require --users.
This commit is contained in:
Joshua Pan 2018-05-14 13:01:12 -04:00 committed by Tim Abbott
parent 231b487bca
commit ef098d2223
1 changed files with 0 additions and 2 deletions

View File

@ -44,7 +44,6 @@ You can use the command list_realms to find ID of the realms in this server."""
help=help)
def add_user_list_args(self, parser: ArgumentParser,
required: bool=False,
help: Optional[str]=None,
all_users_arg: bool=True,
all_users_help: Optional[str]=None) -> None:
@ -54,7 +53,6 @@ You can use the command list_realms to find ID of the realms in this server."""
parser.add_argument(
'-u', '--users',
dest='users',
required=required,
type=str,
help=help)