diff options
author | 2009-07-14 17:24:08 +0000 | |
---|---|---|
committer | 2009-07-14 17:24:08 +0000 | |
commit | e18e7f2c907da177e6b6a08e9e537441834c8cb0 (patch) | |
tree | e24fdd648775695f0193a4b9360e61d5902d5079 /usr.bin/time/time.c | |
parent | mention display.brightness explicitly; (diff) | |
download | wireguard-openbsd-e18e7f2c907da177e6b6a08e9e537441834c8cb0.tar.xz wireguard-openbsd-e18e7f2c907da177e6b6a08e9e537441834c8cb0.zip |
unveil that time(1) accepts optional arguments for the utility operand,
this way we not only improve the synopsis accuracy but also match
descriptions provided by IEEE Std 1003.1-2008, FreeBSD and NetBSD
for this command; while here, synchronize the operand name.
description for the optional arguments proposed by jmc@
ok jmc@
Diffstat (limited to 'usr.bin/time/time.c')
-rw-r--r-- | usr.bin/time/time.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/time/time.c b/usr.bin/time/time.c index aa60c59330e..353fbd319ce 100644 --- a/usr.bin/time/time.c +++ b/usr.bin/time/time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: time.c,v 1.16 2006/05/17 13:31:22 grunk Exp $ */ +/* $OpenBSD: time.c,v 1.17 2009/07/14 17:24:08 sobrado Exp $ */ /* $NetBSD: time.c,v 1.7 1995/06/27 00:34:00 jtc Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)time.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: time.c,v 1.16 2006/05/17 13:31:22 grunk Exp $"; +static char rcsid[] = "$OpenBSD: time.c,v 1.17 2009/07/14 17:24:08 sobrado Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -195,6 +195,7 @@ usage(void) { extern char *__progname; - (void)fprintf(stderr, "usage: %s [-lp] command\n", __progname); + (void)fprintf(stderr, "usage: %s [-lp] utility [argument ...]\n", + __progname); exit(1); } |