mirror of
https://github.com/netinvent/npbackup.git
synced 2025-02-22 21:46:04 +08:00
CLI: Fix policy parameter should not expect an argument
This commit is contained in:
parent
24e4276449
commit
e8663b3e9c
1 changed files with 2 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue