summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-06-21 18:24:16 -0400
committerDan Davison <dandavison7@gmail.com>2020-06-21 21:17:56 -0400
commit8f2df66af2275cd76dce644f396f0473b1544526 (patch)
tree2bcddc50e29177b0e7543e428dd2680fb0401ac4 /src/cli.rs
parentab087f7d2cbbfb1e0ee74e99496c3901b84a2305 (diff)
Reinstate --navigate flag
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 1e157fb2..99ba75dc 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -244,8 +244,10 @@ pub struct Opt {
/// of the special attributes 'box', 'ul', 'overline', or 'underoverline' must be given.
pub file_decoration_style: String,
- #[structopt(skip = false)]
- /// Navigate feature: users enable the feature by adding "navigate" to their feature list.
+ #[structopt(long = "navigate")]
+ /// Activate diff navigation: use n to jump forwards and N to jump backwards. To change the
+ /// file labels used see --file-modified-label, --file-removed-label, --file-added-label,
+ /// --file-renamed-label.
pub navigate: bool,
#[structopt(long = "file-modified-label", default_value = "")]