CLI: Fix policy parameter should not expect an argument

This commit is contained in:
deajan 2024-06-04 13:05:13 +02:00
parent 24e4276449
commit e8663b3e9c

View file

@ -130,9 +130,8 @@ This is free software, and you are welcome to redistribute it under certain cond
)
parser.add_argument(
"--policy",
type=str,
default=None,
required=False,
action="store_true",
default=False,
help="Apply retention policy to snapshots",
)
parser.add_argument(