mirror of
https://github.com/sharkdp/bat
synced 2024-11-18 15:26:16 +00:00
Short options for line-range and highlight-line
This commit is contained in:
parent
cf7ed042c1
commit
c2847f6a9f
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user