implement --flags for memcat, display flags instead of content