summaryrefslogtreecommitdiffstats
path: root/sys-utils/losetup.8
diff options
context:
space:
mode:
authorKarel Zak2015-06-05 10:30:52 +0200
committerKarel Zak2015-06-05 10:30:52 +0200
commit4827093d4b3090389ae0cabb7d8b522cf794ef90 (patch)
tree19a9ebb15545cfbbe915924afdaec2b3b07fa056 /sys-utils/losetup.8
parentfindmnt: add --json (diff)
downloadkernel-qcow2-util-linux-4827093d4b3090389ae0cabb7d8b522cf794ef90.tar.gz
kernel-qcow2-util-linux-4827093d4b3090389ae0cabb7d8b522cf794ef90.tar.xz
kernel-qcow2-util-linux-4827093d4b3090389ae0cabb7d8b522cf794ef90.zip
losetup: add --json
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/losetup.8')
-rw-r--r--sys-utils/losetup.85
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-utils/losetup.8 b/sys-utils/losetup.8
index 6f18e540f..41661e553 100644
--- a/sys-utils/losetup.8
+++ b/sys-utils/losetup.8
@@ -100,11 +100,14 @@ Otherwise, just print its name.
Show the status of all loop devices associated with the given
.IR file .
.TP
+.IP "\fB\-J, \fB\-\-json\fP"
+Use JSON format for \fB\-\-list\fP output.
+.TP
.BR \-l , " \-\-list"
If a loop device or the \fB-a\fR option is specified, print the default columns
for either the specified loop device or all loop devices; the default is to
print info about all devices. See also \fB\-\-output\fP, \fB\-\-noheadings\fP
-and \fB\-\-raw\fP.
+\fB\-\-json\fP and \fB\-\-raw\fP.
.TP
.BR \-n , " \-\-noheadings"
Don't print headings for \fB\-\-list\fP output format.