fix tidepool cli arg groups
This commit is contained in:
parent
2219e96f48
commit
62f48df58e
|
@ -7,8 +7,8 @@ use std::path::PathBuf;
|
|||
/// algorithms.
|
||||
#[derive(Parser)]
|
||||
#[clap(version)]
|
||||
#[command(group = clap::ArgGroup::new("single").conflicts_with("multi"))]
|
||||
#[command(group = clap::ArgGroup::new("multi").conflicts_with("single"))]
|
||||
#[command(group = clap::ArgGroup::new("single").multiple(true).conflicts_with("multi"))]
|
||||
#[command(group = clap::ArgGroup::new("multi").multiple(true).conflicts_with("single"))]
|
||||
pub struct CliArgs {
|
||||
/// Path to file containing configuration for running Blockfish.
|
||||
pub config_file: PathBuf,
|
||||
|
|
Loading…
Reference in New Issue