secrets cli: hint that group/user/machine flags can be repeated
This commit is contained in:
@@ -242,21 +242,21 @@ def register_secrets_parser(subparser: argparse._SubParsersAction) -> None:
|
|||||||
type=str,
|
type=str,
|
||||||
action="append",
|
action="append",
|
||||||
default=[],
|
default=[],
|
||||||
help="the group to import the secrets to",
|
help="the group to import the secrets to (can be repeated)",
|
||||||
)
|
)
|
||||||
parser_set.add_argument(
|
parser_set.add_argument(
|
||||||
"--machine",
|
"--machine",
|
||||||
type=str,
|
type=str,
|
||||||
action="append",
|
action="append",
|
||||||
default=[],
|
default=[],
|
||||||
help="the machine to import the secrets to",
|
help="the machine to import the secrets to (can be repeated)",
|
||||||
)
|
)
|
||||||
parser_set.add_argument(
|
parser_set.add_argument(
|
||||||
"--user",
|
"--user",
|
||||||
type=str,
|
type=str,
|
||||||
action="append",
|
action="append",
|
||||||
default=[],
|
default=[],
|
||||||
help="the user to import the secrets to",
|
help="the user to import the secrets to (can be repeated)",
|
||||||
)
|
)
|
||||||
parser_set.set_defaults(func=set_command)
|
parser_set.set_defaults(func=set_command)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user