summaryrefslogtreecommitdiffstats
path: root/usr.bin/cmp/cmp.1
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2005-08-23 13:13:13 +0000
committerbrian <brian@FreeBSD.org>2005-08-23 13:13:13 +0000
commit8cf3c8952235c756487d763a755ee223c358b12e (patch)
tree80bf5c714a9b025373c1208447301ba584bf64c4 /usr.bin/cmp/cmp.1
parentbd2eebc690fe6d505a3daa2d0ecfa9d2cf991d01 (diff)
downloadFreeBSD-src-8cf3c8952235c756487d763a755ee223c358b12e.zip
FreeBSD-src-8cf3c8952235c756487d763a755ee223c358b12e.tar.gz
Add a -h option to tell cmp not to follow symbolic links.
MFC after: 3 weeks Sponsored by: Sophos/ActiveState
Diffstat (limited to 'usr.bin/cmp/cmp.1')
-rw-r--r--usr.bin/cmp/cmp.14
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cmp/cmp.1 b/usr.bin/cmp/cmp.1
index 2f82bc3..22ed932 100644
--- a/usr.bin/cmp/cmp.1
+++ b/usr.bin/cmp/cmp.1
@@ -44,7 +44,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl l | Fl s | Fl x
-.Op Fl z
+.Op Fl hz
.Ar file1 file2
.Op Ar skip1 Op Ar skip2
.Sh DESCRIPTION
@@ -61,6 +61,8 @@ Bytes and lines are numbered beginning with one.
.Pp
The following options are available:
.Bl -tag -width flag
+.It Fl h
+Don't follow symbolic links.
.It Fl l
Print the byte number (decimal) and the differing
byte values (octal) for each difference.
OpenPOWER on IntegriCloud