Double Negatives in Software Options

Sometimes, software flags are created in a negative form. For example an indexing tool with a --skip-publish flag defaulting to false . Those flags are hard to reason about, because they are named in a negative form. --skip-publish=false is a double negative. Do not not publish -> Do publish. Having simply --publish=true would be way simpler! Some frameworks auto-generate the negation flag.…