diff --git a/macchina/src/main.rs b/macchina/src/main.rs index b837a86..e26d48e 100644 --- a/macchina/src/main.rs +++ b/macchina/src/main.rs @@ -129,7 +129,8 @@ pub struct Opt { long = "hide", possible_values = &theme::ReadoutKey::variants(), case_insensitive = true, - help = "Hides the specified elements" + help = "Hides the specified elements", + min_values = 1 )] hide: Option>, @@ -138,7 +139,8 @@ pub struct Opt { long = "show-only", possible_values = &theme::ReadoutKey::variants(), case_insensitive = true, - help = " Displays only the specified elements" + help = " Displays only the specified elements", + min_values = 1 )] show_only: Option>,