From 955a74de63c654ed61c54bb58327fe19fc18c74f Mon Sep 17 00:00:00 2001 From: ArloFilley Date: Sun, 27 Aug 2023 15:43:50 +0100 Subject: [PATCH] added clap support --- readme.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/readme.md b/readme.md index 21616b0..23ccefb 100644 --- a/readme.md +++ b/readme.md @@ -78,6 +78,21 @@ cargo run --release /path/to/your.torrent cargo run --release /path/to/your.torrent /path/to/downloads ``` +4. Clap help message +``` +A BitTorrent client implemented in Rust that allows you to interact with the BitTorrent protocol and download torrents. + +Usage: rusty_torrent [OPTIONS] --torrent-file-path --download-path + +Options: + -l, --log-file-path + -t, --torrent-file-path + -d, --download-path + -h, --help Print help + -V, --version Print version + +``` + The client will start downloading the torrent files and interacting with peers. ## How It Works