diff --git a/CHANGELOG.md b/CHANGELOG.md index a3d2a11..38dbbc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Added + + * Add `--version` flag and about text to CLI + ## [0.6.1] - 2024-01-03 ### Fixed 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)]