Skip to content

Commit

Permalink
Add --version flag and about text
Browse files Browse the repository at this point in the history
  • Loading branch information
rnestler committed Jan 3, 2024
1 parent efa3e22 commit 761a2e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 761a2e8

Please sign in to comment.