Skip to content

Commit

Permalink
fix: merge conflict with main
Browse files Browse the repository at this point in the history
  • Loading branch information
PThorpe92 committed Sep 26, 2023
1 parent 7fe28d7 commit 31fa89d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/options/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ pub static VERSION: Arg = Arg { short: Some(b'v'), long: "version", takes_value
pub static HELP: Arg = Arg { short: Some(b'?'), long: "help", takes_value: TakesValue::Forbidden };

// display options

pub static ONE_LINE: Arg = Arg { short: Some(b'1'), long: "oneline", takes_value: TakesValue::Forbidden };
pub static LONG: Arg = Arg { short: Some(b'l'), long: "long", takes_value: TakesValue::Forbidden };
pub static GRID: Arg = Arg { short: Some(b'G'), long: "grid", takes_value: TakesValue::Forbidden };
Expand All @@ -17,7 +16,6 @@ pub static DEREF_LINKS: Arg = Arg { short: Some(b'X'), long: "dereference", take
pub static WIDTH: Arg = Arg { short: Some(b'w'), long: "width", takes_value: TakesValue::Necessary(None) };
pub static NO_QUOTES:Arg = Arg { short: None, long: "no-quotes",takes_value: TakesValue::Forbidden };


pub static COLOR: Arg = Arg { short: None, long: "color", takes_value: TakesValue::Necessary(Some(COLOURS)) };
pub static COLOUR: Arg = Arg { short: None, long: "colour", takes_value: TakesValue::Necessary(Some(COLOURS)) };
const COLOURS: &[&str] = &["always", "auto", "never"];
Expand Down

0 comments on commit 31fa89d

Please sign in to comment.