diff options
author | dougb <dougb@FreeBSD.org> | 2002-08-13 20:07:36 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2002-08-13 20:07:36 +0000 |
commit | ecc0e08193ea7e12d1e483f9ecf64d898dc2094b (patch) | |
tree | 59cab614f8207c65835f19c4586852d77972e50a /usr.bin/stat | |
parent | f2aa335ea9c32b849240c84d9bd1924e0ea51a78 (diff) | |
download | FreeBSD-src-ecc0e08193ea7e12d1e483f9ecf64d898dc2094b.zip FreeBSD-src-ecc0e08193ea7e12d1e483f9ecf64d898dc2094b.tar.gz |
A much better description of the -q option.
Obtained from: Andrew Brown <atatat@NetBSD.org>
Diffstat (limited to 'usr.bin/stat')
-rw-r--r-- | usr.bin/stat/stat.1 | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/usr.bin/stat/stat.1 b/usr.bin/stat/stat.1 index c6bc6b4..083763d 100644 --- a/usr.bin/stat/stat.1 +++ b/usr.bin/stat/stat.1 @@ -45,11 +45,10 @@ .Nd display file status .Sh SYNOPSIS .Nm -.Op Fl FLn +.Op Fl FLnq .Oo .Fl f Ar format | .Fl l | -.Fl q | .Fl r | .Fl s | .Fl x @@ -107,6 +106,15 @@ if file is a symbolic link, and not to itself. .It Fl n Do not force a newline to appear at the end of each piece of output. +.It Fl q +Suppress failure messages if calls to +.Xr stat 2 +or +.Xr lstat 2 +fail. +When run as +.Nm readlink , +error messages are automatically suppressed. .It Fl f Ar format Display information using the specified format. See the FORMATS section for a description of valid formats. @@ -114,9 +122,6 @@ for a description of valid formats. Display output in .Ic ls Fl lT format. -.It Fl q -Suppress failure messages from -.Xr stat 2 . .It Fl r Display raw information. That is, for all the fields in the stat-structure, display the raw, numerical value (for example, times in seconds since the |