Currently, when a series of short flags appear (e.g. '-hvpo'), they are all parsed like flags; this ignores the possibility that one of them is an option.
If, during this short flag concatenation, an option flag is encountered, the logic that follows should be something like:
- Terminate concatenation without storing the currently parsed short option flag
- Check for either a space or an equals sign
- If none appear, treat all incoming text that isn't whitespace as if it were the value to this option
- Continue with argument parsing
Currently, when a series of short flags appear (e.g. '-hvpo'), they are all parsed like flags; this ignores the possibility that one of them is an option.
If, during this short flag concatenation, an option flag is encountered, the logic that follows should be something like: