shithub: riscv

ref: 8a45afd47d2545b2d85aecf9ec5af90cba3905d3
dir: /sys/man/1/vdiff/

View raw version
.TH VDIFF 1
.SH NAME
vdiff \- a visual diff viewer
.SH SYNOPSIS
.B vdiff
[
.B -b
]
[
.B -p
.I strip
]
.SH DESCRIPTION
.I vdiff
reads unified diff output from standard input and displays a colored version. Right clicking on a line will send a 
.IR plumb (6)
message to the
.B edit
port. Pressing
.B q
or
.B del
will exit
.B vdiff
.PP
The
.B \-b
flag changes the color scheme to white text on a black background.
.PP
The
.B \-p
.I nstrip
flag removes
.I nstrip
path elements from path before plumbing.
.SH EXAMPLE
% git/diff |vdiff
.SH SOURCE
/sys/src/cmd/vdiff.c
.SH SEE ALSO
.IR diff (1)
.SH HISTORY
vdiff first appeared in 9front (January, 2024).