Module Name:    src
Committed By:   wiz
Date:           Thu Dec 29 22:58:27 UTC 2011

Modified Files:
        src/usr.bin/gencat: gencat.c

Log Message:
Make usage() match man page.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/gencat/gencat.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/gencat/gencat.c
diff -u src/usr.bin/gencat/gencat.c:1.33 src/usr.bin/gencat/gencat.c:1.34
--- src/usr.bin/gencat/gencat.c:1.33	Thu Dec 29 16:41:38 2011
+++ src/usr.bin/gencat/gencat.c	Thu Dec 29 22:58:27 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: gencat.c,v 1.33 2011/12/29 16:41:38 christos Exp $	*/
+/*	$NetBSD: gencat.c,v 1.34 2011/12/29 22:58:27 wiz Exp $	*/
 
 /*
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: gencat.c,v 1.33 2011/12/29 16:41:38 christos Exp $");
+__RCSID("$NetBSD: gencat.c,v 1.34 2011/12/29 22:58:27 wiz Exp $");
 #endif
 
 /***********************************************************
@@ -140,7 +140,7 @@ __dead static void	usage(void);
 static void
 usage(void)
 {
-	fprintf(stderr, "usage: %s catfile msgfile ...\n", getprogname());
+	fprintf(stderr, "usage: %s catfile [msgfile|- ...]\n", getprogname());
 	exit(1);
 }
 

Reply via email to