{
  "name": "lsblk",
  "description": "List block devices",
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Show help for lsblk"
    },
    {
      "names": [
        "--version",
        "-V"
      ],
      "description": "Show version for lsblk"
    },
    {
      "names": [
        "--all",
        "-a"
      ],
      "description": "Also list empty devices and RAM disk devices"
    },
    {
      "names": [
        "--bytes",
        "-b"
      ],
      "description": "Print the SIZE column in bytes"
    },
    {
      "names": [
        "--discard",
        "-D"
      ],
      "description": "Print information about the discarding capabilities (TRIM, UNMAP) for each device"
    },
    {
      "names": [
        "--nodeps",
        "-d"
      ],
      "description": "Do not print holder devices or slaves"
    },
    {
      "names": [
        "--dedup",
        "-E"
      ],
      "description": "Use column as a de-duplication key to de-duplicate output tree",
      "takes_arg": true,
      "arg": {
        "name": "column"
      }
    },
    {
      "names": [
        "--exclude",
        "-e"
      ],
      "description": "Exclude the devices specified by the comma-separated list of major device numbers",
      "takes_arg": true,
      "arg": {
        "name": "list"
      }
    },
    {
      "names": [
        "--fs",
        "-f"
      ],
      "description": "Output info about filesystems"
    },
    {
      "names": [
        "--include",
        "-I"
      ],
      "description": "Include devices specified by the comma-separated list of major device numbers",
      "takes_arg": true,
      "arg": {
        "name": "list"
      }
    },
    {
      "names": [
        "--ascii",
        "-i"
      ],
      "description": "Use ASCII characters for tree formatting"
    },
    {
      "names": [
        "--json",
        "-J"
      ],
      "description": "Use JSON output format"
    },
    {
      "names": [
        "--list",
        "-l"
      ],
      "description": "Produce output in the form of a list"
    },
    {
      "names": [
        "--merge",
        "-M"
      ],
      "description": "Group parents of sub-trees to provide more readable output for RAIDs and Multi-path devices"
    },
    {
      "names": [
        "--perms",
        "-m"
      ],
      "description": "Output info about device owner, group and mode"
    },
    {
      "names": [
        "--noheadings",
        "-n"
      ],
      "description": "Do not print a header line"
    },
    {
      "names": [
        "--output",
        "-o"
      ],
      "description": "Specify which output columns to print",
      "takes_arg": true,
      "arg": {
        "name": "list",
        "is_variadic": true
      }
    },
    {
      "names": [
        "--output-all",
        "-O"
      ],
      "description": "Output all available columns"
    },
    {
      "names": [
        "--pairs",
        "-P"
      ],
      "description": "Produce output in the form of key-value pairs"
    },
    {
      "names": [
        "--raw",
        "-r"
      ],
      "description": "Produce output in raw format"
    },
    {
      "names": [
        "--scsi",
        "-S"
      ],
      "description": "Output info about SCSI devices only"
    },
    {
      "names": [
        "--inverse",
        "-s"
      ],
      "description": "Print dependencies in inverse order"
    },
    {
      "names": [
        "--tree",
        "-T"
      ],
      "description": "Force tree-like output format",
      "takes_arg": true,
      "arg": {
        "name": "column"
      }
    },
    {
      "names": [
        "--topology",
        "-t"
      ],
      "description": "Output info about block-device topology"
    },
    {
      "names": [
        "--width",
        "-w"
      ],
      "description": "Specifies output width as a number of characters",
      "takes_arg": true,
      "arg": {
        "name": "number"
      }
    },
    {
      "names": [
        "--sort",
        "-x"
      ],
      "description": "Sort output lines by column",
      "takes_arg": true,
      "arg": {
        "name": "column"
      }
    },
    {
      "names": [
        "--zoned",
        "-z"
      ],
      "description": "Print the zone model for each device"
    },
    {
      "names": [
        "--sysroot"
      ],
      "description": "Gather data for a Linux instance other than the instance from which the lsblk command is issued",
      "takes_arg": true,
      "arg": {
        "name": "directory"
      }
    }
  ],
  "args": [
    {
      "name": "device",
      "description": "Device to list"
    }
  ]
}
