prune-backups CLI: use keep-options directly
Makes the interface cleaner; e.g. --keep-daily=2 instead of --prune-backups=keep-daily=2 Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
c3e87d0f6e
commit
a0933d7e16
@ -49,7 +49,7 @@ my %prune_option = (
|
||||
format_description => 'N',
|
||||
);
|
||||
|
||||
my $prune_backups_format = {
|
||||
our $prune_backups_format = {
|
||||
'keep-last' => {
|
||||
%prune_option,
|
||||
description => 'Keep the last <N> backups.',
|
||||
|
||||
Reference in New Issue
Block a user