summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-06-24 19:33:34 -0400
committerDan Davison <dandavison7@gmail.com>2020-06-25 15:18:19 -0400
commit91f6dfc28006b5355089e7c5ccb3969e7d6c0649 (patch)
tree2f047ced82e96af470815aaeb4acb7f62db888d3 /src/cli.rs
parent2c1db25a98cd660d56e1197056d4ccbbb3b3182f (diff)
Refactor: determine number styles
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cli.rs b/src/cli.rs
index bdb93d55..079a03c8 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -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,