From 761a2e8f40d694930938340134406376660d4120 Mon Sep 17 00:00:00 2001 From: Raphael Nestler Date: Wed, 3 Jan 2024 18:52:56 +0100 Subject: [PATCH] Add --version flag and about text --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index 64dac43..86d797f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,6 +29,10 @@ pub enum ColorOptions { } #[derive(Debug, Parser)] +#[clap( + version, + about = "Attractorr attracts magnets! A tool to collect magnet links from various sources." +)] struct Args { /// Sort results by the number of seeders or leechers. #[clap(long, value_enum, ignore_case = true)]