From 2f25ef04d831336e4132afc06a9ce0a4617de7f8 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 6 Aug 2025 13:01:22 +0300 Subject: [PATCH] update api details --- README.md | 2 +- src/config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0adbc32..e65365f 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ ## Usage ``` bash -btracker --storage /path/to/aquatic-crawler/preload +btracker --preload /path/to/aquatic-crawler/dump ``` * append `RUST_LOG=debug` for detailed information output * see the project [Wiki](https://github.com/YGGverse/btracker/wiki) for more details (including [systemd](https://github.com/YGGverse/btracker/wiki/Systemd) and [nginx](https://github.com/YGGverse/btracker/wiki/Nginx) examples) diff --git a/src/config.rs b/src/config.rs index df18b89..dadb181 100644 --- a/src/config.rs +++ b/src/config.rs @@ -42,7 +42,7 @@ pub struct Config { #[arg(long, default_value_t = 20)] pub list_limit: usize, - /// Default capacity (estimated torrents in `storage`) + /// Default capacity (estimated torrents in the `preload` directory) #[arg(long, default_value_t = 1000)] pub capacity: usize,