{
  "name": "truncate",
  "description": "Shrink or extend the size of a file to the specified size",
  "options": [
    {
      "names": [
        "--no-create",
        "-c"
      ],
      "description": "Do not create any files"
    },
    {
      "names": [
        "--io-blocks",
        "-o"
      ],
      "description": "Treat SIZE as number of IO blocks instead of bytes"
    },
    {
      "names": [
        "--reference",
        "-r"
      ],
      "description": "Base size on RFILE",
      "takes_arg": true,
      "arg": {
        "name": "RFILE"
      }
    },
    {
      "names": [
        "--size",
        "-s"
      ],
      "description": "Set or adjust the file size by SIZE bytes",
      "takes_arg": true,
      "arg": {
        "name": "SIZE",
        "description": "The SIZE argument is an integer and optional unit; units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000). Binary prefixes can be used, too: KiB=K, MiB=M, and so on"
      }
    },
    {
      "names": [
        "--help"
      ],
      "description": "Show help for truncate"
    },
    {
      "names": [
        "--version"
      ],
      "description": "Output version information and exit"
    }
  ],
  "args": [
    {
      "name": "FILE",
      "is_variadic": true,
      "template": "filepaths"
    }
  ]
}
