Files
borg/scripts
Thomas Waldmann e5fb5c0d58 remove --iec option, use BORG_IEC
Unlike the other options removed recently, --iec did work for borg2 repos -
but the same setting is better placed in the environment: it is a display
preference one usually wants for all borg invocations, not per command.

BORG_IEC=yes now selects IEC units (1KiB = 1024B); "true" and "1" are
accepted, too, because jsonargparse's automatic BORG_<OPTION> environment
variables accepted these for --iec. Note that removing the option also
removes that automatic environment variable, so the new use_iec_units()
helper reads BORG_IEC explicitly.

The iec=... plumbing through Archive, Statistics, ArchiveFormatter and Cache
is unchanged, only the places reading args.iec now call use_iec_units().
2026-07-25 09:29:44 +02:00
..
2025-09-23 14:56:23 +02:00
2025-10-16 00:37:46 +02:00
2025-09-23 14:56:23 +02:00