summaryrefslogtreecommitdiffstats
path: root/usr.bin/time/time.1
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1998-07-27 16:54:05 +0000
committerdes <des@FreeBSD.org>1998-07-27 16:54:05 +0000
commit9ac87e4b580e02b3a3dfcc2bdfd9641631106037 (patch)
tree60a141b07fd6503e6f196d75284d08186803dd3e /usr.bin/time/time.1
parente2204441eadb14707e637171586f75c771f51eb8 (diff)
downloadFreeBSD-src-9ac87e4b580e02b3a3dfcc2bdfd9641631106037.zip
FreeBSD-src-9ac87e4b580e02b3a3dfcc2bdfd9641631106037.tar.gz
Behave like GNU time. More cleanup. Reword man page.
Pointed out by: Bruce Evans
Diffstat (limited to 'usr.bin/time/time.1')
-rw-r--r--usr.bin/time/time.131
1 files changed, 15 insertions, 16 deletions
diff --git a/usr.bin/time/time.1 b/usr.bin/time/time.1
index a3f805f..1c8bb77 100644
--- a/usr.bin/time/time.1
+++ b/usr.bin/time/time.1
@@ -39,9 +39,9 @@
.Nd time command execution
.Sh SYNOPSIS
.Nm
-.Op Fl a Ar file
-.Op Fl o Ar file
.Op Fl l
+.Op Fl a
+.Op Fl o Ar file
.Ar command
.Sh DESCRIPTION
The
@@ -68,25 +68,25 @@ process.
.Pp
Available options:
.Bl -tag -width Ds
-.It Fl a Ar file
-Append the output of
-.Nm
-to
-.Ar file
-instead of writing to stderr.
+.It Fl l
+The contents of the
+.Em rusage
+structure are printed as well.
+.It Fl a
+If the
+.Fl o
+flag is used, append to the specified file rather than overwriting
+it. Otherwise, this option has no effect.
.It Fl o Ar file
Write the output to
.Ar file
instead of stderr. If
.Ar file
-exists, then
-.Nm
-will overwrite the file if its permissions allow it.
-.It Fl l
-The contents of the
-.Em rusage
-structure are printed as well.
+exists and the
+.Fl a
+flag is not specified, the file will be overwritten.
.El
+.Sh NOTES
.Pp
The
.Xr csh 1
@@ -98,7 +98,6 @@ is available as
to
.Xr csh
users.
-.Sh NOTES
The output of
.Nm
can be directed to standard output by specifying
OpenPOWER on IntegriCloud