Short options for line-range and highlight-line

This commit is contained in:
sharkdp 2018-12-16 22:17:39 +01:00
parent cf7ed042c1
commit c2847f6a9f
1 changed files with 2 additions and 0 deletions

View File

@ -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")