1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 02:08:54 +00:00

Merge pull request #5789 from ThomasWaldmann/fix-iec-global

fix --iec option when given after "borg"
This commit is contained in:
TW 2021-05-03 20:15:25 +02:00 committed by GitHub
commit 91946fb594
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2728,7 +2728,7 @@ def define_common_options(add_common_option):
'The logger path is borg.debug.<TOPIC> if TOPIC is not fully qualified.') 'The logger path is borg.debug.<TOPIC> if TOPIC is not fully qualified.')
add_common_option('-p', '--progress', dest='progress', action='store_true', add_common_option('-p', '--progress', dest='progress', action='store_true',
help='show progress information') 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)') help='format using IEC units (1KiB = 1024B)')
add_common_option('--log-json', dest='log_json', action='store_true', add_common_option('--log-json', dest='log_json', action='store_true',
help='Output one JSON object per log line instead of formatted text.') help='Output one JSON object per log line instead of formatted text.')