Can someone elaborate a little more about an explanation from official golang documentation about cmd syntax for boolean flags.
One or two minus signs may be used; they are equivalent. The last form is not permitted for boolean flags because the meaning of the command
cmd -x *
will change if there is a file called 0, false, etc. You must use the -flag=false form to turn off a boolean flag.
I don't get the point. Could you explain it or give an example?