A slightly more robust parsing of these flags in case of a separate argument appearing after "-L" in the flags.