summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 2ee73240..643168f9 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -217,6 +217,10 @@ pub struct Opt {
#[structopt(short = "s", long = "side-by-side")]
pub side_by_side: bool,
+ /// Display a side-by-side diff and wrap overlong lines instead of truncating them.
+ #[structopt(short = "S", long = "side-by-side-wrapped")]
+ pub side_by_side_wrapped: bool,
+
#[structopt(long = "diff-highlight")]
/// Emulate diff-highlight (https://github.com/git/git/tree/master/contrib/diff-highlight)
pub diff_highlight: bool,