@@ -164,29 +164,21 @@ pub struct ImageCliOptions {
164164#[ derive( Clone , Debug , Args , PartialEq , Eq ) ]
165165#[ command( next_help_heading = "TEXT FORMATTING" ) ]
166166pub struct TextForamttingCliOptions {
167- /// Changes the text colors (X X X...)
168- ///
169- /// Goes in order of title, ~, underline, subtitle, colon, and info
170- ///
171- /// For example:
172- ///
173- /// '--text-colors 9 10 11 12 13 14'
167+
174168 #[ arg(
175169 long,
176170 short,
177171 value_name = "X" ,
178172 value_parser = value_parser!( u8 ) . range( ..16 ) ,
179- num_args = 1 ..=6
173+ num_args = 1 ..=6 ,
174+ help = tr!( "cli-text-colors" )
180175 ) ]
181176 pub text_colors : Vec < u8 > ,
182- /// Use ISO 8601 formatted timestamps
183- #[ arg( long, short = 'z' ) ]
177+ #[ arg( long, short = 'z' , help = tr!( "cli-text-iso-time" ) ) ]
184178 pub iso_time : bool ,
185- /// Which thousands SEPARATOR to use
186- #[ arg( long, value_name = tr!( "cli-value-separator" ) , default_value = "plain" , value_enum) ]
179+ #[ arg( long, value_name = tr!( "cli-value-separator" ) , default_value = "plain" , value_enum, help = tr!( "cli-text-number-separator" ) ) ]
187180 pub number_separator : NumberSeparator ,
188- /// Turns off bold formatting
189- #[ arg( long) ]
181+ #[ arg( long, help = tr!( "cli-text-no-bold" ) ) ]
190182 pub no_bold : bool ,
191183}
192184#[ derive( Clone , Debug , Args , PartialEq , Eq , Default ) ]
0 commit comments