Skip to content

Commit

Permalink
Merge pull request #14 from TooneyTurkey/patch-1
Browse files Browse the repository at this point in the history
added none option
  • Loading branch information
angelofallars authored Nov 24, 2023
2 parents 652866b + 717444e commit c9368c0
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fn main() {
.arg(
arg!([TREE])
.help("Which tree to display.")
.possible_values(["normal", "xmas", "bonsai"])
.possible_values(["normal", "xmas", "bonsai","none"])
.default_value("normal"),
)
.get_matches();
Expand Down Expand Up @@ -76,6 +76,19 @@ fn main() {
red, green, blue, yellow, bright_yellow, bold, reset
)
}

"none" => {
with_color!(
"
",
)
}

_ => unreachable!(),
};
Expand Down

0 comments on commit c9368c0

Please sign in to comment.