Goのflagパッケージが-optになっている理由
https://twitter.com/nya3jp/status/1500477134380228613 で知ったけど、flagパッケージが-optでショートオプションもロングオプションも区別しないのは、単にRob Pikeの好み1らしい。
As the author of the flag package, I can explain. It’s loosely based on Google’s flag package, although greatly simplified (and I mean greatly). I wanted a single, straightforward syntax for flags, nothing more, nothing less.