summaryrefslogtreecommitdiffstats
path: root/misc-utils/lsblk.8
diff options
context:
space:
mode:
authorMasatake YAMATO2014-04-27 07:18:41 +0200
committerKarel Zak2014-05-06 10:56:52 +0200
commit1b4d2a4a4aa7df52033d293f26cd4fa79f95578d (patch)
tree8b32972d8db40f8dc996955819b62f2dd7936b3b /misc-utils/lsblk.8
parentdmesg: add missing include (diff)
downloadkernel-qcow2-util-linux-1b4d2a4a4aa7df52033d293f26cd4fa79f95578d.tar.gz
kernel-qcow2-util-linux-1b4d2a4a4aa7df52033d293f26cd4fa79f95578d.tar.xz
kernel-qcow2-util-linux-1b4d2a4a4aa7df52033d293f26cd4fa79f95578d.zip
lsblk: add -O option to show all available columns
Simple command line for gathering information as many as possible is useful when understanding a system, especially when trouble shooting. This patch introduces -O option which enables all available columns. [kzak@redhat.com: - define collisions between options, - define columns when parse argv[]] Signed-off-by: Masatake YAMATO <yamato@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.8')
-rw-r--r--misc-utils/lsblk.83
1 files changed, 3 insertions, 0 deletions
diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8
index ea7e7bee8..e87689b46 100644
--- a/misc-utils/lsblk.8
+++ b/misc-utils/lsblk.8
@@ -83,6 +83,9 @@ to get a list of all supported columns.
The default list of columns may be extended if \fIlist\fP is
specified in the format \fI+list\fP (e.g. \fBlsblk -o +UUID\fP).
.TP
+.BR \-O , " \-\-output-all "
+Output all available columns.
+.TP
.BR \-P , " \-\-pairs"
Produce output in the form of key="value" pairs.
All potentially unsafe characters are hex-escaped (\\x<code>).