summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-03-29 20:13:58 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-03-29 20:13:58 +0000
commit7820ae1e255c321c48f92fc0aa36271e036a23ae (patch)
treec252804870d1aa08951e9f3b18f76e612c1d108c /usr.bin
parentbaa31b7505103721e06149694e3a0a0a6b726a75 (diff)
sync usage(); from Igor Sobrado
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/units/units.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/units/units.c b/usr.bin/units/units.c
index 66e419b24bf..de46fbff469 100644
--- a/usr.bin/units/units.c
+++ b/usr.bin/units/units.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: units.c,v 1.13 2007/02/24 03:28:16 ray Exp $ */
+/* $OpenBSD: units.c,v 1.14 2007/03/29 20:13:57 jmc Exp $ */
/* $NetBSD: units.c,v 1.6 1996/04/06 06:01:03 thorpej Exp $ */
/*
@@ -652,10 +652,8 @@ showanswer(struct unittype *have, struct unittype *want)
void
usage(void)
{
- fprintf(stderr, "units [-f unitsfile] [-q] [-v] [from-unit to-unit]\n");
- fprintf(stderr, " -f specify units file\n");
- fprintf(stderr, " -q suppress prompting (quiet)\n");
- fprintf(stderr, " -v print version number\n");
+ fprintf(stderr,
+ "usage: units [-qv] [-f filename] [from-unit to-unit]\n");
exit(3);
}