Skip to content

Commit

Permalink
allow ; to use as separators for colors
Browse files Browse the repository at this point in the history
  • Loading branch information
mazznoer committed Jul 12, 2023
1 parent a144108 commit 3235971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub struct Opt {
pub preset: Option<String>,

/// Create custom gradient with the specified colors
#[arg(short = 'c', long, num_args = 1.., value_name = "COLOR", conflicts_with = "preset", help_heading = Some("CUSTOM GRADIENT"))]
#[arg(short = 'c', long, num_args = 1.., value_delimiter = ';', value_name = "COLOR", conflicts_with = "preset", help_heading = Some("CUSTOM GRADIENT"))]
pub custom: Option<Vec<Color>>,

/// Custom gradient color position
Expand Down

0 comments on commit 3235971

Please sign in to comment.