Just return -1 and print usage outside. I don't know why we need to know the value of lflag here in case of this error..