Command line flag syntax:
-flag <---- this form can only be used for boolean flags ?
-flag x // non-boolean flags only
But when I use the first form "-flag", with no value, I get the message
"flag needs an argument", except for boolean flags.
So, the first form "-flag" can only be used for boolean flags ?
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/d/optout.