@@ -166,11 +166,9 @@ pub struct AsciiCliOptions {
166166#[ derive( Clone , Debug , Args , PartialEq , Eq ) ]
167167#[ command( next_help_heading = "IMAGE" ) ]
168168pub struct ImageCliOptions {
169- /// Path to the IMAGE file
170- #[ arg( long, short, value_name = tr!( "cli-value-image" ) , value_hint = ValueHint :: FilePath ) ]
169+ #[ arg( long, short, value_name = tr!( "cli-value-image" ) , value_hint = ValueHint :: FilePath , help = tr!( "cli-image-image" ) ) ]
171170 pub image : Option < PathBuf > ,
172- /// Which image PROTOCOL to use
173- #[ arg( long, value_enum, requires = "image" , value_name = tr!( "cli-value-protocol" ) ) ]
171+ #[ arg( long, value_enum, requires = "image" , value_name = tr!( "cli-value-protocol" ) , help = tr!( "cli-image-image_protocol" ) ) ]
174172 pub image_protocol : Option < ImageProtocol > ,
175173 /// VALUE of color resolution to use with SIXEL backend
176174 #[ arg(
@@ -179,7 +177,8 @@ pub struct ImageCliOptions {
179177 requires = "image" ,
180178 default_value_t = 16usize ,
181179 value_parser = PossibleValuesParser :: new( COLOR_RESOLUTIONS )
182- . map( |s| s. parse:: <usize >( ) . unwrap( ) )
180+ . map( |s| s. parse:: <usize >( ) . unwrap( ) ) ,
181+ help = tr!( "cli-image-color_resolution" )
183182 ) ]
184183 pub color_resolution : usize ,
185184}
0 commit comments