summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJohan Söllvander <js@FreeBSD.org>2025-12-18 16:06:09 +0100
committerJohan Söllvander <js@FreeBSD.org>2025-12-18 16:22:59 +0100
commit4f809ffec69cd6ede3e7be9a5bc876b2e5931028 (patch)
treee8631814adeed2606497ac54b05123843763a2fe /sbin
parente3a0571ad74d8429a95fcae9efc1d91cc109a337 (diff)
gpart: add libxo support for "show" subcommand + man page updates
Added libxo support to `gpart show`, also updated the man pages for geom and gpart to show where you can expect libxo formatted output. PR: 290629 MFC after: 1 week Sponsored by: ConnectWise Reviewed by: asomers, mckusick, phil Approved by: asomers (mentor) Differential Revision: https://reviews.freebsd.org/D53950
Diffstat (limited to 'sbin')
-rw-r--r--sbin/geom/core/geom.812
1 files changed, 11 insertions, 1 deletions
diff --git a/sbin/geom/core/geom.8 b/sbin/geom/core/geom.8
index b864b3b238f5..29c6385da3f7 100644
--- a/sbin/geom/core/geom.8
+++ b/sbin/geom/core/geom.8
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 9, 2023
+.Dd December 4, 2025
.Dt GEOM 8
.Os
.Sh NAME
@@ -36,11 +36,13 @@
.Ar class
.Cm help
.Nm
+.Op Fl -libxo
.Ar class
.Cm list
.Op Fl a
.Op Ar name ...
.Nm
+.Op Fl -libxo
.Ar class
.Cm status
.Op Fl ags
@@ -118,6 +120,13 @@ Print detailed information about the geom which provides
.Ar provider-name .
.It Fl t
Display geoms hierarchy as a tree.
+.It Fl -libxo
+Generate output via
+.Xr libxo 3
+in a selection of different human and machine readable formats.
+See
+.Xr xo_options 7
+for details on command line arguments.
.El
.Pp
Class-specific commands are implemented as shared libraries which
@@ -205,6 +214,7 @@ geom md unload
.Sh SEE ALSO
.Xr libgeom 3 ,
.Xr geom 4 ,
+.Xr xo_options 7 ,
.Xr gcache 8 ,
.Xr gconcat 8 ,
.Xr geli 8 ,