diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-06-24 19:33:34 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-06-25 15:18:19 -0400 |
commit | 91f6dfc28006b5355089e7c5ccb3969e7d6c0649 (patch) | |
tree | 2f047ced82e96af470815aaeb4acb7f62db888d3 /src/cli.rs | |
parent | 2c1db25a98cd660d56e1197056d4ccbbb3b3182f (diff) |
Refactor: determine number styles
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -326,14 +326,14 @@ pub struct Opt { #[structopt(short = "n", long = "number")] pub show_line_numbers: bool, - /// Style (foreground, background, attributes) for the minus line numbers - /// (--number), if --number is set. See STYLES section. Defaults to + /// Style (foreground, background, attributes) for the minus file line numbers (line numbers in + /// the old version) See STYLES and LINE NUMBERS sections. Defaults to /// --hunk-header-decoration-style. #[structopt(long = "number-minus-style", default_value = "auto")] pub number_minus_style: String, - /// Style (foreground, background, attributes) for the plus line numbers - /// (--number), if --number is set. See STYLES section. Defaults to + /// Style (foreground, background, attributes) for the plus file line numbers (line numbers in + /// the old version) See STYLES and LINE NUMBERS sections. Defaults to /// --hunk-header-decoration-style. #[structopt(long = "number-plus-style", default_value = "auto")] pub number_plus_style: String, |