secrets cli: hint that group/user/machine flags can be repeated

This commit is contained in:
Jörg Thalheim
2023-09-07 13:06:31 +02:00
parent c3ccf68007
commit 62e5c66867

View File

@@ -242,21 +242,21 @@ def register_secrets_parser(subparser: argparse._SubParsersAction) -> None:
type=str,
action="append",
default=[],
help="the group to import the secrets to",
help="the group to import the secrets to (can be repeated)",
)
parser_set.add_argument(
"--machine",
type=str,
action="append",
default=[],
help="the machine to import the secrets to",
help="the machine to import the secrets to (can be repeated)",
)
parser_set.add_argument(
"--user",
type=str,
action="append",
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)