summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-06-20 14:26:23 -0400
committerDan Davison <dandavison7@gmail.com>2020-06-20 16:49:27 -0400
commit9c7c855d7ad72bd2475db0c4e1ff7320898ec011 (patch)
tree7b05a4d55b79dff77ad395c10f909d5cae5500a1 /src/cli.rs
parent3aaa9606e6a64e8dd16fb46520da01a8186367da (diff)
Reimplement --navigate as a feature
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 9b33a03c..8e542455 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -244,10 +244,8 @@ pub struct Opt {
/// of the special attributes 'box', 'ul', 'overline', or 'underoverline' must be given.
pub file_decoration_style: String,
- #[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.
+ #[structopt(skip = false)]
+ /// Navigate feature: users enable the feature by adding "navigate" to their feature list.
pub navigate: bool,
#[structopt(long = "file-modified-label", default_value = "")]