From c012fe98baa271ef41d035e63ef5631394424c3f Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 26 Jun 2003 07:20:12 +0000 Subject: pretty code that prints usage --- usr.bin/diff/diff.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'usr.bin/diff/diff.c') diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c index 556086c45de..21122b48466 100644 --- a/usr.bin/diff/diff.c +++ b/usr.bin/diff/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.13 2003/06/26 04:52:26 millert Exp $ */ +/* $OpenBSD: diff.c,v 1.14 2003/06/26 07:20:12 deraadt Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -254,11 +254,13 @@ noroom(void) __dead void usage(void) { - (void)fprintf(stderr, "usage: diff [-bitw] [-c | -e | -f | -h | -n | -u ] file1 file2\n" + (void)fprintf(stderr, + "usage: diff [-bitw] [-c | -e | -f | -h | -n | -u ] file1 file2\n" " diff [-bitw] -C number file1 file2\n" " diff [-bitw] -D string file1 file2\n" " diff [-bitw] -U number file1 file2\n" - " diff [-biwt] [-c | -e | -f | -h | -n | -u ] [-l] [-r] [-s] [-S name]\n dir1 dir2\n"); + " diff [-biwt] [-c | -e | -f | -h | -n | -u ] " + "[-l] [-r] [-s] [-S name]\n dir1 dir2\n"); exit(1); } -- cgit v1.2.3-59-g8ed1b