summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-06-26 11:22:12 +0000
committercharnier <charnier@FreeBSD.org>1997-06-26 11:22:12 +0000
commit6b6d733955d0d116d2fd6b27d39b3e6fb37b486b (patch)
tree3dcb3faba8ceb67fd999205fb08d1ebeb3f2b861 /usr.bin
parenta590542bdf233b97cbc027dd958b13f4b777db1b (diff)
downloadFreeBSD-src-6b6d733955d0d116d2fd6b27d39b3e6fb37b486b.zip
FreeBSD-src-6b6d733955d0d116d2fd6b27d39b3e6fb37b486b.tar.gz
Correct usage string. Program name converted to bold in man page.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cmp/cmp.110
-rw-r--r--usr.bin/cmp/cmp.c2
2 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/cmp/cmp.1 b/usr.bin/cmp/cmp.1
index 75339a8..637b1ce 100644
--- a/usr.bin/cmp/cmp.1
+++ b/usr.bin/cmp/cmp.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cmp.1 8.1 (Berkeley) 6/6/93
-.\" $Id$
+.\" $Id: cmp.1,v 1.4 1997/02/22 19:54:29 peter Exp $
.\"
.Dd June 6, 1993
.Dt CMP 1
@@ -47,10 +47,12 @@
.Ar file1 file2
.Op Ar skip1 Op Ar skip2
.Sh DESCRIPTION
-The cmp utility compares two files of any type and writes the results
+The
+.Nm cmp
+utility compares two files of any type and writes the results
to the standard output.
By default,
-.Nm
+.Nm cmp
is silent if the files are the same; if they differ, the byte
and line number at which the first difference occurred is reported.
.Pp
@@ -108,6 +110,6 @@ utility is expected to be
compatible.
.Sh HISTORY
A
-.Nm
+.Nm cmp
command appeared in
.At v1 .
diff --git a/usr.bin/cmp/cmp.c b/usr.bin/cmp/cmp.c
index 86923df..6755ff6 100644
--- a/usr.bin/cmp/cmp.c
+++ b/usr.bin/cmp/cmp.c
@@ -157,6 +157,6 @@ usage()
{
(void)fprintf(stderr,
- "usage: cmp [-l | s] file1 file2 [skip1 [skip2]]\n");
+ "usage: cmp [-l | -s] file1 file2 [skip1 [skip2]]\n");
exit(ERR_EXIT);
}
OpenPOWER on IntegriCloud