3 ms·
The gflags official documentation, presumably written at Google, has this to say about the different dash styles: > Despite this flexibility, we recommend usin
by jzwinck 13y ago
The gflags official documentation, presumably written at Google, has this to say about the different dash styles:
> Despite this flexibility, we recommend using only a single form: --variable=value for non-boolean flags, and --variable/--novariable for boolean flags. This consistency will make your code more readable, and is also the format required for certain special-use cases like flagfiles.
The one remaining inconsistency between this advice and GNU's is that the latter would spell it --no-variable.