def extract_rzip (archive, compression, cmd, verbosity, interactive, outdir):
    """Extract an RZIP archive."""
    cmdlist = [cmd, '-d', '-k']
    if verbosity > 1:
        cmdlist.append('-v')
    outfile = util.get_single_outfile(outdir, archive)
    cmdlist.extend(["-o", outfile, archive])
    return cmdlist