Fixed the --ignore flag being misspelled

master
Wynd 2024-09-15 13:48:21 +03:00
parent f8b8a69b8c
commit 9efedeba00
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -426,7 +426,7 @@ dependencies = [
[[package]] [[package]]
name = "git-heatmap" name = "git-heatmap"
version = "1.0.2" version = "1.0.3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",

View File

@ -2,7 +2,7 @@ cargo-features = ["codegen-backend"]
[package] [package]
name = "git-heatmap" name = "git-heatmap"
version = "1.0.2" version = "1.0.3"
edition = "2021" edition = "2021"
authors = ["Wynd <wyndftw@proton.me>"] authors = ["Wynd <wyndftw@proton.me>"]
description = "A simple and customizable heatmap for git repos" description = "A simple and customizable heatmap for git repos"

View File

@ -23,7 +23,7 @@ pub struct CliArgs {
#[arg(short, long, num_args(0..), value_hint = ValueHint::DirPath)] #[arg(short, long, num_args(0..), value_hint = ValueHint::DirPath)]
pub repos: Option<Vec<PathBuf>>, pub repos: Option<Vec<PathBuf>>,
#[arg(short('i'), long("igore"), num_args(0..))] #[arg(short('i'), long("ignore"), num_args(0..))]
pub ignored_repos: Option<Vec<String>>, pub ignored_repos: Option<Vec<String>>,
#[arg(short, long, num_args(0..))] #[arg(short, long, num_args(0..))]