Skip to content

Commit

Permalink
colored flag renamed to color
Browse files Browse the repository at this point in the history
  • Loading branch information
lnxwizard committed Oct 6, 2023
1 parent a52bb63 commit 05e98ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
use clap::Parser;

#[derive(Parser, Debug)]
#[derive(Parser)]
#[command(name = "cartographer", bin_name = "crt")]
#[command(about = "A command-line tool built with Rust for generating and saving Minecraft seeds.")]
#[command(
long_about = "Generate random Minecraft seeds and save favorite seeds with `cartographer`."
)]
#[command(author, version)]
pub struct Cli {
#[arg(help = "Toggle colored output")]
#[arg(short = 'c', long = "colored")]
pub colored: bool,
#[arg(short = 'c', long = "color")]
pub color: bool,
}

0 comments on commit 05e98ae

Please sign in to comment.