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( parser.add_argument(
"--policy", "--policy",
type=str, action="store_true",
default=None, default=False,
required=False,
help="Apply retention policy to snapshots", help="Apply retention policy to snapshots",
) )
parser.add_argument( parser.add_argument(