Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当您有一个布尔选项和一个通过在名称前加上“no”前缀将其设置为 false 的标志时,它应该是“no”还是“no_”?什么是最常用或更好的风格?例如:
--no_foo
或者
--nofoo
两者都不。使用no-即--no-foo。
no-
--no-foo