diff --git a/src/clap_app.rs b/src/clap_app.rs index 9f6f0997..e9f9d3a0 100644 --- a/src/clap_app.rs +++ b/src/clap_app.rs @@ -175,6 +175,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { .arg( Arg::with_name("line-range") .long("line-range") + .short("r") .multiple(true) .takes_value(true) .number_of_values(1) @@ -191,6 +192,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { .arg( Arg::with_name("highlight-line") .long("highlight-line") + .short("H") .takes_value(true) .multiple(true) .value_name("N")