Skip to content

Commit

Permalink
Fix opts config
Browse files Browse the repository at this point in the history
  • Loading branch information
WilfSilver committed Feb 27, 2023
1 parent 22a05dd commit f634c79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/eww/src/opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,18 @@ pub enum ActionWithServer {
#[arg(long = "toggle")]
should_toggle: bool,

#[clap(long, parse(try_from_str = parse_var_update_arg))]
#[arg(long, value_parser = parse_var_update_arg)]
args: Option<Vec<(VarName, DynVal)>>,
},

/// Open multiple windows at once.
/// NOTE: This will in the future be part of eww open, and will then be removed.
#[command(name = "open-many")]
OpenMany {
#[clap(parse(try_from_str = parse_window_config_and_id))]
#[clap(value_parser = parse_window_config_and_id)]
windows: Vec<(String, String)>,

#[clap(long, parse(try_from_str = parse_window_id_args))]
#[clap(long, value_parser = parse_window_id_args)]
args: Vec<(String, VarName, DynVal)>,

/// If a window is already open, close it instead
Expand Down

0 comments on commit f634c79

Please sign in to comment.