@@ -58,11 +58,19 @@ pub struct ArgsClient {
5858 pub scroll_lock_led : Option < String > ,
5959
6060 /// Shows volume osd and raises, loweres or mutes default sink volume
61- #[ arg( long, value_name = "raise|lower|mute-toggle|(±)number" ) ]
61+ #[ arg(
62+ long,
63+ value_name = "raise|lower|mute-toggle|(±)number" ,
64+ allow_hyphen_values = true
65+ ) ]
6266 pub output_volume : Option < String > ,
6367
6468 /// Shows volume osd and raises, loweres or mutes default source volume
65- #[ arg( long, value_name = "raise|lower|mute-toggle|(±)number" ) ]
69+ #[ arg(
70+ long,
71+ value_name = "raise|lower|mute-toggle|(±)number" ,
72+ allow_hyphen_values = true
73+ ) ]
6674 pub input_volume : Option < String > ,
6775
6876 /// Sets the maximum Volume
@@ -76,7 +84,7 @@ pub struct ArgsClient {
7684 pub device : Option < String > ,
7785
7886 /// Shows brightness osd and raises or loweres all available sources of brightness device
79- #[ arg( long, value_name = "raise|lower|(±)number" ) ]
87+ #[ arg( long, value_name = "raise|lower|(±)number" , allow_hyphen_values = true ) ]
8088 pub brightness : Option < String > ,
8189
8290 /// Sets the minimum Brightness
0 commit comments