Fix clap attributes

This commit is contained in:
Ottatop 2023-09-08 20:20:00 -05:00
parent 13872e56aa
commit 4d1085a720

View file

@ -30,7 +30,7 @@ mod tag;
mod window;
#[derive(clap::Args, Debug)]
#[group(id = "backend", required = false)]
#[group(id = "backend", required = false, multiple = false)]
struct Backends {
#[arg(long, group = "backend")]
/// Run Pinnacle in a window in your graphical environment
@ -42,7 +42,6 @@ struct Backends {
#[derive(clap::Parser, Debug)]
#[command(author, version, about, long_about = None)]
#[group(required = false, multiple = false)]
struct Args {
#[command(flatten)]
backend: Backends,