3 ms·
But maybe we should talk about the lack of space character between the flag and the argument…
by hsbauauvhabzb 5y ago
But maybe we should talk about the lack of space character between the flag and the argument…
- account42 5y agoThat's just how short options with arguments work in getopt POSIX land: '-oARG' is equivalent to '-o' 'ARG' just like '--option=ARG' is equivalent to '--option' 'ARG' (for GNU long options). This means that you cannot chain any other short options after one with an (optional) argument but otherwise does not cause any problems.
- hsbauauvhabzb 5y agoYes not every Linux/unix arg parser conforms to posix, some require a space, others do not.