mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-19 12:24:17 +00:00
parent
e8c04672f0
commit
76c615a304
@ -332,6 +332,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
|||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.value_name("width")
|
.value_name("width")
|
||||||
.hidden_short_help(true)
|
.hidden_short_help(true)
|
||||||
|
.allow_hyphen_values(true)
|
||||||
.validator(
|
.validator(
|
||||||
|t| {
|
|t| {
|
||||||
let is_offset = t.starts_with('+') || t.starts_with('-');
|
let is_offset = t.starts_with('+') || t.starts_with('-');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user