// Detect It Easy: detection rule file format

init("format", "ZIP");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (ZIP.isVerbose()) {
        sName = ZIP.getFileFormatName();
        sVersion = ZIP.getFileFormatVersion();
        sOptions = ZIP.getFileFormatOptions();
        
        if (sName != "") {
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}