3 ms·
Got it. Seems to me the the use of "=" notation for CLI args would be rife with situations like this. Yikes... [also, still going through the code, but it lo
by numbsafari 9y ago
Got it.
Seems to me the the use of "=" notation for CLI args would be rife with situations like this.
Yikes...
[also, still going through the code, but it looks like they are setting up for a call to exec*()]
- wahern 9y agoYes, which is why "--" is the standard way to avoid this stuff, and why people should generally avoid writing their own options processor and instead use getopt() or getopt_long(), which provide consistent, standard semantics.