on master help sign in
Short options for line-range and highlight-line
commitc2847f6a9f886473bf7a2b5bb4742fcee4e8cc7a authorsharkdp <davidpeter@web.de> dateSun 16 Dec 2018, 22:17 (8 years ago) parentcf7ed04
1 file changed+2
src/clap_app.rs+2
src/clap_app.rs+2
@@ -175,6 +175,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
175175 .arg(
176176 Arg::with_name("line-range")
177177 .long("line-range")
178+ .short("r")
178179 .multiple(true)
179180 .takes_value(true)
180181 .number_of_values(1)
@@ -191,6 +192,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
191192 .arg(
192193 Arg::with_name("highlight-line")
193194 .long("highlight-line")
195+ .short("H")
194196 .takes_value(true)
195197 .multiple(true)
196198 .value_name("N")