Skip to content

Commit

Permalink
fixed std output
Browse files Browse the repository at this point in the history
  • Loading branch information
Arteiii committed Apr 8, 2024
1 parent 93022c0 commit 0a0fd8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helper/colors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ impl CliColorConfig {
"--color=always" => ColorOption::Always,
"--color=never" => ColorOption::Never,
_ => {
println!("Invalid argument: {}", arg);
println!("Usage: my_program [--color=always|auto|never]");
println!("Using Default: auto");
eprintln!("Invalid argument: {}", arg);
eprintln!("Usage: my_program [--color=always|auto|never]");
eprintln!("Using Default: auto");

ColorOption::Auto
}
Expand Down

0 comments on commit 0a0fd8c

Please sign in to comment.