From faec607d02280b39c123d8412b5264da658f62a0 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sat, 28 Aug 2021 12:19:06 +0200 Subject: [PATCH] btrbk: drop deprecated -r,--resume-only argument Deprecated as of btrbk v0.26.0 (more than 3 years ago). --- btrbk | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/btrbk b/btrbk index 86cb104..4b19b7b 100755 --- a/btrbk +++ b/btrbk @@ -5348,7 +5348,6 @@ MAIN: my ($config_cmdline, $lockfile_cmdline, $print_schedule, $preserve_snapshots, $preserve_backups, $wipe_snapshots, $skip_snapshots, $skip_backups, $archive_raw, $extents_related, - $resume_only_DEPRECATED, # as of btrbk-v0.26.0 ); # Calling btrbk via "lsbtr" symlink acts as an alias for "btrbk ls", @@ -5382,7 +5381,6 @@ MAIN: 'preserve-snapshots' => sub { $preserve_snapshots = "preserve-snapshots" }, 'preserve-backups' => sub { $preserve_backups = "preserve-backups" }, 'wipe' => \$wipe_snapshots, - 'resume-only|r' => \$resume_only_DEPRECATED, 'progress' => \$show_progress, 'related' => \$extents_related, 'table|t' => sub { $output_format = "table" }, @@ -5422,14 +5420,6 @@ MAIN: $do_trace = 1 if($loglevel >= 4); require_data_dumper() if($do_trace || ($VERSION =~ /-dev$/)); - # DEPRECATED options - if($resume_only_DEPRECATED) { - WARN "Found deprecated command line option \"-r, --resume-only\": Use \"btrbk resume --preserve\""; - $skip_snapshots = "resume-only"; - $preserve_backups = "resume-only"; - $preserve_snapshots = "resume-only"; - } - # check command line options if($show_progress && (not check_exe('mbuffer'))) { WARN 'Found option "--progress", but required executable "mbuffer" does not exist on your system. Please install "mbuffer".';