mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-04-19 19:56:50 +00:00
Fix required argument conflicts in check sub command
This commit is contained in:
parent
a52eb9742e
commit
774b57d78e
@ -107,7 +107,6 @@ pub enum SubCommand {
|
||||
strict: bool,
|
||||
},
|
||||
#[command(about = "Überprüfe OSC-Datei auf bekannte Problemen")]
|
||||
#[group(multiple = false)]
|
||||
Check {
|
||||
#[arg(help = "Die zu prüfende Datei", group = "check-file", required = true)]
|
||||
file: Option<String>,
|
||||
@ -120,7 +119,8 @@ pub enum SubCommand {
|
||||
password: Option<String>,
|
||||
#[arg(
|
||||
long = "list",
|
||||
help = "Prüfe nicht und zeige Liste mit Checks auf bekannte Problemen"
|
||||
help = "Prüfe nicht und zeige Liste mit Checks auf bekannte Problemen",
|
||||
conflicts_with = "check-file"
|
||||
)]
|
||||
list: bool,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user