From 6b3c725eeb263fcad06f972a537f2d06c0f72ce6 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Tue, 3 Sep 2024 18:04:03 +0000 Subject: [PATCH] More precise usage on diskUtilization setting --- CHANGELOG.md | 1 + src/zimit/zimit.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a86e2b..60078ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Stream files downloads to not exhaust memory (#373) +- Fix documentation on `--diskUtilization` setting (#375) ## [2.1.0] - 2024-08-09 diff --git a/src/zimit/zimit.py b/src/zimit/zimit.py index 4e80d07..45219f8 100755 --- a/src/zimit/zimit.py +++ b/src/zimit/zimit.py @@ -286,8 +286,8 @@ def run(raw_args): parser.add_argument( "--diskUtilization", - help="If set, save state and exit if diskutilization " - "exceeds this percentage value", + help="Save state and exit if disk utilization exceeds this percentage value." + " Default (if not set) is 90%. Set to 0 to disable disk utilization check.", type=int, default=90, )