From b04b7a77fd46f39ee3fc1ed463c4043f7521a55b Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 3 May 2021 18:28:58 +0200 Subject: [PATCH] fix --iec option when given after "borg" now both behave the same: borg --iec info REPO borg info --iec REPO --- src/borg/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 3872330e9..d52e0e5cf 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -2728,7 +2728,7 @@ def define_common_options(add_common_option): 'The logger path is borg.debug. if TOPIC is not fully qualified.') add_common_option('-p', '--progress', dest='progress', action='store_true', help='show progress information') - add_common_option('--iec', action='store_true', + add_common_option('--iec', dest='iec', action='store_true', help='format using IEC units (1KiB = 1024B)') add_common_option('--log-json', dest='log_json', action='store_true', help='Output one JSON object per log line instead of formatted text.')