git: 02816415a34a - stable/14 - kldstat.8: Polish options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Jan 2025 03:38:39 UTC
The branch stable/14 has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=02816415a34aee8092c155ce53bec21126e2eb7f
commit 02816415a34aee8092c155ce53bec21126e2eb7f
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-01-21 19:55:27 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-01-24 03:36:03 +0000
kldstat.8: Polish options
+ Align and alphabetize options
+ -q: s/Only/Quietly/ for search
+ Tag SPDX
MFC after: 3 days
Reviewed by: gbe, carlavilla, mhorne
Approved by: carlavilla, mhorne (mentors)
Differential Revision: https://reviews.freebsd.org/D48325
(cherry picked from commit 8d5d97372361aadb3d6cdfc5f5d1f8edcaa825aa)
---
sbin/kldstat/kldstat.8 | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/sbin/kldstat/kldstat.8 b/sbin/kldstat/kldstat.8
index f7e7552625e3..09094da3741d 100644
--- a/sbin/kldstat/kldstat.8
+++ b/sbin/kldstat/kldstat.8
@@ -1,4 +1,6 @@
.\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
.\" Copyright (c) 1997 Doug Rabson
.\" All rights reserved.
.\"
@@ -23,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 19, 2016
+.Dd January 4, 2025
.Dt KLDSTAT 8
.Os
.Sh NAME
@@ -48,22 +50,22 @@ utility displays the status of any files dynamically linked into the
kernel.
.Pp
The following options are available:
-.Bl -tag -width indentXX
+.Bl -tag -width "-n filename"
+.It Fl d
+Show the module specific data (as int, unsigned int and unsigned long)
.It Fl h
Display the size field in a human-readable form, using unit suffixes
instead of hex values.
-.It Fl v
-Be more verbose.
-.It Fl d
-Show the module specific data (as int, unsigned int and unsigned long)
.It Fl i Ar id
Display the status of only the file with this ID.
+.It Fl m Ar modname
+Display the status of only the module with this modname.
.It Fl n Ar filename
Display the status of only the file with this filename.
.It Fl q
-Only check if file is loaded or compiled into the kernel.
-.It Fl m Ar modname
-Display the status of only the module with this modname.
+Quietly check if file is loaded or compiled into the kernel.
+.It Fl v
+Be more verbose.
.El
.Sh EXIT STATUS
.Ex -std