code: def list_xz (archive, compression, cmd, verbosity, interactive):
      
      cmdlist = [cmd]
      cmdlist.append('-l')
      if verbosity > 1:
          cmdlist.append('-v')
      cmdlist.append(archive)
      return cmdlist
docs: List a XZ archive.