Split user flags into flags and mode