From f771f05273eb656725d72a4e63d6d95637133fb7 Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Thu, 26 Jun 1997 11:22:12 +0000 Subject: [PATCH] Correct usage string. Program name converted to bold in man page. --- usr.bin/cmp/cmp.1 | 10 ++++++---- usr.bin/cmp/cmp.c | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/usr.bin/cmp/cmp.1 b/usr.bin/cmp/cmp.1 index 75339a804737..637b1ce97b4a 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 86923df3a7e1..6755ff6d5eb6 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); }