From 6e5ae6dc04f2f2fbf5ce2b550d04400d8479fc1a Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Tue, 20 Jun 2017 18:13:10 +0200 Subject: [PATCH] delete: remove short option for --cache-only --- src/borg/archiver.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 5dd1b5b16..03020a6c1 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -3094,11 +3094,9 @@ class Archiver: formatter_class=argparse.RawDescriptionHelpFormatter, help='delete archive') subparser.set_defaults(func=self.do_delete) - subparser.add_argument('-s', '--stats', dest='stats', - action='store_true', default=False, + subparser.add_argument('-s', '--stats', dest='stats', action='store_true', help='print statistics for the deleted archive') - subparser.add_argument('-c', '--cache-only', dest='cache_only', - action='store_true', default=False, + subparser.add_argument('--cache-only', dest='cache_only', action='store_true', help='delete only the local cache for the given repository') subparser.add_argument('--force', dest='forced', action='count', default=0,