Module Name: src Committed By: wiz Date: Sun Aug 26 14:14:16 UTC 2012
Modified Files: src/usr.bin/uniq: uniq.c Log Message: - synchronize `usage' message with man page. Patch from Bug Hunting. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.bin/uniq/uniq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/uniq/uniq.c diff -u src/usr.bin/uniq/uniq.c:1.17 src/usr.bin/uniq/uniq.c:1.18 --- src/usr.bin/uniq/uniq.c:1.17 Wed Oct 6 07:59:18 2010 +++ src/usr.bin/uniq/uniq.c Sun Aug 26 14:14:16 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: uniq.c,v 1.17 2010/10/06 07:59:18 wiz Exp $ */ +/* $NetBSD: uniq.c,v 1.18 2012/08/26 14:14:16 wiz Exp $ */ /* * Copyright (c) 1989, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19 #if 0 static char sccsid[] = "@(#)uniq.c 8.3 (Berkeley) 5/4/95"; #endif -__RCSID("$NetBSD: uniq.c,v 1.17 2010/10/06 07:59:18 wiz Exp $"); +__RCSID("$NetBSD: uniq.c,v 1.18 2012/08/26 14:14:16 wiz Exp $"); #endif /* not lint */ #include <err.h> @@ -251,7 +251,7 @@ obsolete(char *argv[]) static void usage(void) { - (void)fprintf(stderr, "Usage: %s [-cdu] [-f fields] [-s chars] " - "[input [output]]\n", getprogname()); + (void)fprintf(stderr, "usage: %s [-cdu] [-f fields] [-s chars] " + "[input_file [output_file]]\n", getprogname()); exit(1); }