summaryrefslogtreecommitdiff
path: root/usr.bin/dc
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2007-07-29 17:12:19 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2007-07-29 17:12:19 +0000
commit5c170e7948e217dddc5191146dce2162ba70c6a8 (patch)
tree06df6279b34cbd097f19c1a011beeff9a927b4f2 /usr.bin/dc
parent54e87e68407415a2ce30d3f39a10652767363806 (diff)
sync the command usage with its synopsis
ok jmc@
Diffstat (limited to 'usr.bin/dc')
-rw-r--r--usr.bin/dc/dc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/dc/dc.c b/usr.bin/dc/dc.c
index bcaa4abc467..66c564987f7 100644
--- a/usr.bin/dc/dc.c
+++ b/usr.bin/dc/dc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dc.c,v 1.9 2006/03/25 07:49:56 otto Exp $ */
+/* $OpenBSD: dc.c,v 1.10 2007/07/29 17:12:18 sobrado Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -17,7 +17,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: dc.c,v 1.9 2006/03/25 07:49:56 otto Exp $";
+static const char rcsid[] = "$OpenBSD: dc.c,v 1.10 2007/07/29 17:12:18 sobrado Exp $";
#endif /* not lint */
#include <sys/stat.h>
@@ -36,7 +36,8 @@ extern char *__progname;
static __dead void
usage(void)
{
- (void)fprintf(stderr, "usage: %s [-x] [-e expr] [file]\n", __progname);
+ (void)fprintf(stderr, "usage: %s [-x] [-e expression] [file]\n",
+ __progname);
exit(1);
}