From 9c57aa866e222e21112cd415124fff7e2561f92c Mon Sep 17 00:00:00 2001 From: Nat Date: Mon, 3 Jun 2024 01:35:17 +0000 Subject: [PATCH] refactor: chage to apply the change to list-file-types as well --- crates/sss_lib/src/args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sss_lib/src/args.rs b/crates/sss_lib/src/args.rs index 3c03c95..8842203 100644 --- a/crates/sss_lib/src/args.rs +++ b/crates/sss_lib/src/args.rs @@ -84,7 +84,7 @@ pub struct GenerationSettingsArgs { help = "[values: raw or file path] If it is set then the result will be saved here" )] #[serde(skip)] - #[clap(required_unless_present = "list_themes")] + #[clap(required_unless_present_any = &["list_themes", "list_file_types"])] pub output: Option, #[clap( long,