fix tidepool cli arg groups

This commit is contained in:
tali 2023-04-13 13:44:02 -04:00
parent 2219e96f48
commit 62f48df58e
1 changed files with 2 additions and 2 deletions

View File

@ -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,