From: Benno Schulenberg Date: Mon, 14 Apr 2025 09:45:28 +0000 (+0200) Subject: docs: improve and harmonize the description of -H / --list-columns X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bda3039ef3d6b95c7c466e52405c3c7b5165a36;p=thirdparty%2Futil-linux.git docs: improve and harmonize the description of -H / --list-columns Signed-off-by: Benno Schulenberg --- diff --git a/lsfd-cmd/lsfd.1.adoc b/lsfd-cmd/lsfd.1.adoc index d1a78f105..b0ba2ba53 100644 --- a/lsfd-cmd/lsfd.1.adoc +++ b/lsfd-cmd/lsfd.1.adoc @@ -114,7 +114,8 @@ Dump the definition of counters used in *--summary* output. Print paths as terminal hyperlinks. The _mode_ can be set to "always", "never", or "auto". The optional argument _when_ can be set to "auto", "never", or "always". If the _when_ argument is omitted, it will default to "auto". The "auto" setting means that hyperlinks will only be used if the output is on a terminal. *-H*, *--list-columns*:: -List available columns that you can specify at *--output* option. +List the columns that can be specified with the *--output* option. +Can be used with *--json* or *--raw* to get the list in a machine-readable format. include::man-common/help-version.adoc[] diff --git a/misc-utils/findmnt.8.adoc b/misc-utils/findmnt.8.adoc index 9ac9316e3..a26fb8ca2 100644 --- a/misc-utils/findmnt.8.adoc +++ b/misc-utils/findmnt.8.adoc @@ -64,7 +64,8 @@ Search in an alternative file. If used with *--fstab*, *--mtab* or *--kernel*, t Print the first matching filesystem only. *-H*, *--list-columns*:: -List the available columns, use with *--json* or *--raw* to get output in machine-readable format. +List the columns that can be specified with the *--output* option. +Can be used with *--json* or *--raw* to get the list in a machine-readable format. *--hyperlink*[**=**_mode_]:: Print mountpoint paths as terminal hyperlinks. The optional _mode_ argument diff --git a/misc-utils/lsblk.8.adoc b/misc-utils/lsblk.8.adoc index 742fe5f68..8151525af 100644 --- a/misc-utils/lsblk.8.adoc +++ b/misc-utils/lsblk.8.adoc @@ -42,7 +42,8 @@ Disable all built-in filters and list all empty devices and RAM disk devices too include::man-common/in-bytes.adoc[] *-H*, *--list-columns*:: -List the available columns, use with *--json* or *--raw* to get output in machine-readable format. +List the columns that can be specified with the *--output* option. +Can be used with *--json* or *--raw* to get the list in a machine-readable format. *-D*, *--discard*:: Print information about the discarding capabilities (TRIM, UNMAP) for each device. diff --git a/misc-utils/lslocks.8.adoc b/misc-utils/lslocks.8.adoc index 2084d96c0..2395d86fb 100644 --- a/misc-utils/lslocks.8.adoc +++ b/misc-utils/lslocks.8.adoc @@ -35,7 +35,8 @@ lslocks - list local system locks include::man-common/in-bytes.adoc[] *-H*, *--list-columns*:: -List the available columns, use with *--json* or *--raw* to get output in machine-readable format. +List the columns that can be specified with the *--output* option. +Can be used with *--json* or *--raw* to get the list in a machine-readable format. *-i*, *--noinaccessible*:: Ignore lock files which are inaccessible for the current user. diff --git a/sys-utils/lsns.8.adoc b/sys-utils/lsns.8.adoc index 88c2b848f..3cbe3504e 100644 --- a/sys-utils/lsns.8.adoc +++ b/sys-utils/lsns.8.adoc @@ -32,7 +32,8 @@ Note that *lsns* reads information directly from the _/proc_ filesystem and for == OPTIONS *-H*, *--list-columns*:: -List the available columns, use with *--json* or *--raw* to get output in machine-readable format. +List the columns that can be specified with the *--output* option. +Can be used with *--json* or *--raw* to get the list in a machine-readable format. *-J*, *--json*:: Use JSON output format.