summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-06-25 10:43:00 -0400
committerDan Davison <dandavison7@gmail.com>2020-06-25 15:18:19 -0400
commit1478ce4d160711d416ddcd0cbb5b5de43e5254a2 (patch)
tree5d07f520dd92a8198342a84db9ecf3e0644846ab /src/cli.rs
parent671a8ed84cc148c0d99264716ccd9a3479fc3c93 (diff)
Implement numbers as a feature
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 079a03c8..5136f6cb 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -323,18 +323,16 @@ pub struct Opt {
/// line number in the new version of the file. A blank cell in the first or
/// second column indicates that the line does not exist in that file (it was
/// added or removed, respectively).
- #[structopt(short = "n", long = "number")]
+ #[structopt(short = "n", long = "numbers")]
pub show_line_numbers: bool,
/// 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.
+ /// the old version) See STYLES and LINE NUMBERS sections.
#[structopt(long = "number-minus-style", default_value = "auto")]
pub number_minus_style: String,
/// 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.
+ /// the old version) See STYLES and LINE NUMBERS sections.
#[structopt(long = "number-plus-style", default_value = "auto")]
pub number_plus_style: String,