mirror of
https://github.com/sharkdp/bat
synced 2024-11-27 14:20:45 +00:00
parent
e8c04672f0
commit
76c615a304
1 changed files with 1 additions and 0 deletions
|
@ -332,6 +332,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
|||
.takes_value(true)
|
||||
.value_name("width")
|
||||
.hidden_short_help(true)
|
||||
.allow_hyphen_values(true)
|
||||
.validator(
|
||||
|t| {
|
||||
let is_offset = t.starts_with('+') || t.starts_with('-');
|
||||
|
|
Loading…
Reference in a new issue