renamed flush option to flushdb