diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-06-25 12:59:07 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-06-25 16:21:32 -0400 |
commit | 68071fc743ebb8126c006d66d843a6b4310bf486 (patch) | |
tree | c4d533d9851de180f70a1211acff02c820a958b9 /src/delta.rs | |
parent | 1d19643af2d5efa0b5c5c5735233083e7e6bd6ca (diff) |
Rename: --number => --line-numbers
Diffstat (limited to 'src/delta.rs')
-rw-r--r-- | src/delta.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delta.rs b/src/delta.rs index 366520ec..37a799a4 100644 --- a/src/delta.rs +++ b/src/delta.rs @@ -423,7 +423,7 @@ fn handle_hunk_header_line( } }; - if !config.show_line_numbers { + if !config.line_numbers { let line_number = &format!("{}", painter.plus_line_number); match config.hunk_header_style.decoration_ansi_term_style() { Some(style) => writeln!(painter.writer, "{}", style.paint(line_number))?, |